[thelist] scrolling part of a page

Dave Merrill dmerrill at usa.net
Wed Mar 2 12:04:52 CST 2005


Well, duh on me. Too obvious...

Thanks,

Dave Merrill


> On Wed, 2 Mar 2005 11:23:55 -0500, Dave Merrill wrote:
> > Is there any cross-browser way, other than frames or iframes, 
> to make part
> > of the page scroll vertically only, with no horizontal scrollbar?
> 
> If you set overflow: auto for an element it will only scroll in the
> direction which it overflows. So unless you put an element inside the
> scrolling parent which has a width wider than the parent it won't
> scroll horizontally. It also won't scroll vertically until there's
> more vertical content than it can contain.



More information about the thelist mailing list