Home >Web Front-end >HTML Tutorial >Use overflow: hidden to disable page scroll bars_HTML/Xhtml_Web page production

Use overflow: hidden to disable page scroll bars_HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:36:571854browse

Copy code
The code is as follows:

html
{
overflow: hidden;
}
body
{
overflow: hidden;
}

You need to set html to be valid under IE6 and 7, and set body under other standard browsers That's it
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