html {
overflow-y: scroll;
}
**************
There’s a specific one for Mozilla:
overflow: -moz-scrollbars-vertical
*******
I’m using this to force the scroll bar:
html {heigth: 100%; margin-bottom: 1px}
o:
html { min-height: 100%; padding-bottom: 1px; }
***
Don’t use
body,html{ overflow-y:scroll;}
********
You can just reset body’s overflow-y to “hidden” or “initial” to avoid the double-scrollbars:
html {
overflow-y: scroll;
overflow-x: hidden; /* I do NOT want hz scroll */
}
body {
overflow-y: initial; /* avoid the double scroll */
}