Use overflow: hidden to disable page scrollbars

Time:2019-11-13

Copy code

The code is as follows:

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

In IE6 and IE7, you need to set HTML to be effective. In other standard browsers, you can set body