Home > Web Front-end > HTML Tutorial > 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
Release: 2016-06-24 12:07:35
Original
1392 people have browsed it

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;}
Copy after login

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template