Home > Web Front-end > HTML Tutorial > Why does the vertical scroll bar always appear on the page? Is my page really not complicated? _html/css_WEB-ITnose

Why does the vertical scroll bar always appear on the page? Is my page really not complicated? _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:13:49
Original
2018 people have browsed it

The content height only accounts for about 4/5 of the browser height. Why does the vertical scroll bar appear?


Reply to the discussion (solution)

Only by posting the code can you see it!

There are a lot of codes to post.

overflow:scroll; Look for this style, delete it and try...

html,body {
height: 100%;
margin: 0px;
font-size:12px;
}

height: 100%; is an error in this sentence.

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