At 2001-04-13 20:20, you wrote:
>So the answer is that there is now way to remove JUST the horizontal
>scrollbar in internet explorer? right? The example uses the
>document.body.scroll = "no" schtick. This isn't exactly what I'm looking
>for, but thanks for the help.
>
>If anyone does know, I'm here for you.

The CSS properties overflow, overflow-x (overflowX in JS), and overflow-y (overflowY 
in JS) are probably what you are looking for.

Values:
visible Content is not clipped, and scroll bars are not added. Elements are clipped to
       the size of the containing window or frame.
scroll  Content is clipped, and scroll bars are added even if the content does not 
exceed
        the dimensions of the object.
hidden  Content that exceeds the dimensions of the object is not shown.
auto    Content is clipped, and scrolling is added only when necessary.

They should work on objects in IE5, some on IE4 too (but not on Mac). For example on 
BODY it only works in IE5, but on a DIV in IE4 except on a Mac where it's supported 
from IE5.

Try this (worked for me):
        document.body.style.overflowX = "hidden";

/Lunna


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to