[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
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
W3C DOM Compatibility Table, expanded & updated
http://www.xs4all.nl/~ppk/js/index.html?version5.html
--------------------------------------------------




_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus




More information about the thelist mailing list