IE6, IE7, and IE8 display a vertical scroll bar for the page by default even if it is not scrollable. Chrome and Firefox do not do this (I’m assuming Opera and Safari do not as well). You can accomplish this same behavior in FireFox using the CSS:
body { overflow: -moz-scrollbars-vertical; }
Is there any way to force the visible scrollbar in the other three browsers? Or even better, a standard way of doing it?
Update
You may (in addition) need to include
-ms-overflow-yand/or-moz-scrollbars-vertical, as mentioned in this other StackOverflow post:Original
See “overflow-y” at W3Schools
Tested & verified (successfully) in:
Full example