Home  >  Article  >  Web Front-end  >  The content of the Chrome browser is less than one page, and the srollbar on the right is not displayed_html/css_WEB-ITnose

The content of the Chrome browser is less than one page, and the srollbar on the right is not displayed_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:07:351361browse

Chrome browser has a feature. When the content is less than one page, the vertical scrollbar on the right cannot be displayed. But this caused me a problem:

When I click on the link, the content is less than one page. When there are more than one page of links, the scrollbar changes from non-display to display, which causes the same icon to have some displacement.

I think it is appropriate to display the vertical scrollbar. When the content is less than one page, the right scrollbar is Gray, unable to move

Looking for a solution


Reply to the discussion (solution)

Try setting the css style overflow:scroll for the body

html{overflow-y:scroll;}

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn