Can anyone tell me if it is possible, and how, to turn off scrollbars in HTML? I know how to do this if I am using frames and can set individual frames to have/not have them, but I have a single page and want to turn the scrollbar off on this. Is it possible without creating a frameset of only one frame?
The scrollbars still appear if the content only fills a single window - but they are greyed out and inactive. It is for this reason that I want to hide them - because having them there looks very untidy and unprofessional. Surely it is possible?
It's thought bad practice in general web design terms to alter browser behaviour in any way.
What you want to do can indeed be done, but I'm at a loss as to why you'd want to and getting cross-browser compatible pages where IE, Netscape, Opera, Mozilla, Konqueror and similar all perform in the intended manner would be all but impossible.
is absolutely correct in saying that the page does not use a frameset. I really cannot see why it would be considered bad practice to hide the scrollbar for a specific webpage - in fact from what I've seen it's common practice to have non-scrolling frames. The page I have is resizing so that it doesn't need a scrollbar whatever the resolution it is displayed at. Consequently, Internet Explorer is 'greying out' the scrollbar anyway - so it's already deactivated - and just looks silly when the page doesn't need to scroll. I still would like to do it - can anyone tell me where I can find code/script to achieve it?