View Full Version : Get rid of the scroll bar on a short page.
01-05-2003, 03:08 PM
Is there a tag to get rid of the unutilized vertical scroll bar on a short page (height < window height) ???
01-05-2003, 06:10 PM
In the body tag, put: style="overflow-y:hidden"
Note: Only works in some browsers including IE 6+. Anything older than IE 5 will make both y and x scroll bars invisible.
01-05-2003, 06:52 PM
You can use overflow: -moz-scrollbars-horizontal for Mozilla.
01-06-2003, 05:05 PM
I know it works in IE
sorry, not sure about the horizontal, the above gets rid of the vertical
wow!!! that works like magic ! thanx bfsog, coz I too was looking fr the exact same thing !
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.