Click to See Complete Forum and Search --> : Removing Horizontal Scroll Bars


Zujan
09-13-2003, 11:52 AM
Hi all,

Is there anyway to turn off the bottom/horizontal scroll bar using HTML? I know I can set scroll to off however I want my users to be able to scroll down, just not left and right. I have made the bg image for a 1024x768 rez however, if someone on 800x600 is viewing it, the image they cannot see is not of importance as it is just a graphic. Any help?

Thanks!
Ryan :confused:

PeOfEo
09-13-2003, 12:08 PM
Make your site fluid to begin with dont just design for one resolution thats the problem. Do this
<img src="url" width="100%">

Zujan
09-13-2003, 01:09 PM
I do not want a fluid look, so can anyone answer the question, can you remove the horizontal scroll bars? It's out of my hands for the look, it is my clients idea.

Thanks

PeOfEo
09-13-2003, 01:30 PM
If you remove them they are not going to see the whole thing. But here is the code
<body style="overflow-x: hidden;">

Zujan
09-13-2003, 01:51 PM
Thanks, that worked perfectly. I understand the image won't show, kind of the point, just a graphic for the bigger rez.

PeOfEo
09-13-2003, 02:03 PM
No prob. I gotcha.