如何避免网页中的滚动条? [英] How to avoid scroll bar in web page ?
问题描述
如何避免网页中的滚动条,即使看不到任何小滚动条也会出现,如何避免所有浏览器。
注意:我使用母版页。
我认为..
< pre lang =cs> body {
overflow:hidden;
}
可以做到这一点。
查看更多..
http://www.quackit.com/html/codes/hide_scrollbar.cfm [ ^ ]
http://www.webmasterworld.com/html/3369472.htm [ ^ ]
http://stackoverflow.com/questions/1417934/how-to-prevent-scrollbar-from-repositioning-web-page [ ^ ]
http: //stackoverflow.com/questions/1942446/unable-to-hide-vertical-scroll-bar-on-web-page [ ^ ]
http://www.knowledgesutra.com/forums/topic/20688-css- trick-hide-disabled-internet-explorer-vertical-scrollbar / [ ^ ]
我认为你的解决方案将是......这个
主页中设置
正文
{
height : auto;
widt h : 990px;
}
Hai
How to avoid scroll bars in web page,even nothing to see down little bit scroll bar appears,how to avoid for all browser.
Note : i use master page.
I think..
body { overflow:hidden; }
can do the trick.
See more..
http://www.quackit.com/html/codes/hide_scrollbar.cfm[^]
http://www.webmasterworld.com/html/3369472.htm[^]
http://stackoverflow.com/questions/1417934/how-to-prevent-scrollbar-from-repositioning-web-page[^]
http://stackoverflow.com/questions/1942446/unable-to-hide-vertical-scroll-bar-on-web-page[^]
http://www.knowledgesutra.com/forums/topic/20688-css-trick-hide-disabled-internet-explorer-vertical-scrollbar/[^]
I think your solution will be...this
set in master page
body { height:auto; width:990px; }
这篇关于如何避免网页中的滚动条?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!