Home  >  Article  >  Web Front-end  >  页面总是出现竖向滚动条是怎么回事?我的页面实在不复杂啊?_html/css_WEB-ITnose

页面总是出现竖向滚动条是怎么回事?我的页面实在不复杂啊?_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:13:491949browse

内容高度仅占浏览器高度的4/5左右,竖向滚动条怎么就出来了呢?


回复讨论(解决方案)

贴代码才能看的出来啊!

贴代码的话有一堆。

 overflow:scroll; 找找是不是有这个样式 ,删掉试试……

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

height:100%;是这一句的错误。

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