[thelist] scrollbars in a div?

Mark Howells mark at mountain.ch
Fri Jul 26 03:37:00 CDT 2002

> hi, is there any way to get scrollbars in a DIV tag? so that i can pu
> tsome text in it and make it scroll automatically instead of the whole
> page?

#myDiv {width:500px; height:200px; overflow:scroll}

Make sure you test this across your target browser audience, as it doesn't
work as intended in some browsers.

Mark Howells

More information about the thelist mailing list