...

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



no way
01-05-2003, 02:08 PM
Is there a tag to get rid of the unutilized vertical scroll bar on a short page (height < window height) ???

Cheers
Fred

Richard
01-05-2003, 05: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.

Bosko
01-05-2003, 05:52 PM
You can use overflow: -moz-scrollbars-horizontal for Mozilla.

bfsog
01-06-2003, 04: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, 04:13 PM
wow!!! that works like magic ! thanx bfsog, coz I too was looking fr the exact same thing !



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum