How do you remove the scroll bar from a page without frames? I want to disable scrolling and/or hide the scroll bar altogether.<!--content--><body scroll="no" border="no" style="border-style: groove; border-width: 0"><br />
<br />
This works in IE 6.<!--content-->You can also give all elements of the scrollbar the same color as the background with CSS<br />
<br />
body {<br />
background-color:#ffffff;<br />
scrollbar-face-color:#ffffff;<br />
scrollbar-arrow-color:#ffffff;<br />
scrollbar-track-color:#ffffff;<br />
scrollbar-shadow-color:#ffffff;<br />
scrollbar-highlight-color:#ffffff;<br />
scrollbar-3dlight-color:#ffffff;<br />
scrollbar-darkshadow-Color:#ffffff;<br />
}<br />
<br />
The scrollbar would be there though; only invisible<br />
AND it only works in MSIE 6<br />
<br />
Zebedeus<!--content-->Originally posted by Carnage <br />
How do you remove the scroll bar from a page <br />
<br />
<body style="overflow:hidden;"><br />
<br />
But have you considered what will happen if a visitor eg only has a 640 res screen and it can't fit all the info on your page?<br />
<br />
Scrollbars are usually only placed on the screen if they are needed.<!--content-->
<br />
This works in IE 6.<!--content-->You can also give all elements of the scrollbar the same color as the background with CSS<br />
<br />
body {<br />
background-color:#ffffff;<br />
scrollbar-face-color:#ffffff;<br />
scrollbar-arrow-color:#ffffff;<br />
scrollbar-track-color:#ffffff;<br />
scrollbar-shadow-color:#ffffff;<br />
scrollbar-highlight-color:#ffffff;<br />
scrollbar-3dlight-color:#ffffff;<br />
scrollbar-darkshadow-Color:#ffffff;<br />
}<br />
<br />
The scrollbar would be there though; only invisible<br />
AND it only works in MSIE 6<br />
<br />
Zebedeus<!--content-->Originally posted by Carnage <br />
How do you remove the scroll bar from a page <br />
<br />
<body style="overflow:hidden;"><br />
<br />
But have you considered what will happen if a visitor eg only has a 640 res screen and it can't fit all the info on your page?<br />
<br />
Scrollbars are usually only placed on the screen if they are needed.<!--content-->