[thelist] horiz scrollbar only on overflow div

Peter-Paul Koch gassinaumasis at hotmail.com
Wed Jan 22 11:01:01 CST 2003

>i have a div styled like this:
>.scrollBox {
>width : 600px;
>overflow : scroll;
>this produces a div with both horizontal and vertical scrollbars. anyone
>know of a way to ditch the vertical one?

overflow: auto

Now a scrollbar is only generated when necessary.

ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
W3C DOM Compatibility Table, expanded & updated

MSN 8 with e-mail virus protection service: 2 months FREE*

More information about the thelist mailing list