hiding vorizontal scrollbar in div layer

Giganews Newsgroups
Subject: hiding vorizontal scrollbar in div layer
Posted by:  Michael Ditum (mike.dit…@tripleplay-services.com)
Date: Wed, 03 Dec 2003

I have a div layer that will contain a variable list of information.
When it overflows i want it to scroll but only vertically.

This is the layers definition so far...

#remoteScreen
{
    z-index: 4;
    position: absolute;
    left: 14;
    top: 46;
    width: 171;
    height: 153;
    background-color: Black;
    overflow: scroll;
}

it shows the scroll bars but in both directions... as i dont want it to
ever scroll horizontally i dont want to waste the space.

Is there any way of only showing the vertical scroll bar???

If its of any help this will only ever be run in IE so if its an evil IE
trick i dont mind hearing it ;)

Thanks alot

Mike

Replies