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
WBOYOriginal
2016-06-24 12:13:492037browse

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.

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