View Full Version : Get rid of the scroll bar on a short page.

no way
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

<body scroll="no">

sorry, not sure about the horizontal, the above gets rid of the vertical

c q
01-07-2003, 05:13 PM
wow!!! that works like magic ! thanx bfsog, coz I too was looking fr the exact same thing !