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


ZeoFateX
09-30-2003, 06:17 PM
Is it possible to disable the horizontal scroll bar inside frames with HTML or Java, but NOT disable the vertical scroll bar? I've looked everywhere and the only things I've seen are ones in which the vertical scroll bar is disabled also.

BTW I tried <body style="overflow-x: hidden;">. It doesn't work for me. This is inside frames, so that might be the problem. Also I'm using a CSS if that's another problem. URL: Request it if you need it...

Thanks,

Zeo

PeOfEo
09-30-2003, 07:20 PM
overflow-x:hidden; is an ie only code so dont expect it to work on mozilla or something. If it does not work for you you can try putting all of your content in a div that had the width of the frame and then using that same style="overflow-x:hidden;". It might not work but try it anyway just to see.

ZeoFateX
09-30-2003, 08:19 PM
I just tried that, it's not working either. :(

Thanks again,

Zeo

PeOfEo
09-30-2003, 08:53 PM
what browser & version are you on.

ZeoFateX
10-04-2003, 12:24 PM
IE latest version

PeOfEo
10-04-2003, 02:31 PM
try this
<body style="overflow:auto; overflow-x:hidden;" Just make you page fluid though like use %'s for your widths and you will not get that horizontal scroll bar to begin with. overflow-x:hidden; hides any content that has to overflow out the right and left sides.