Sent by Zoe M. Gillenwater on 5 July 2006 20:08
Eoin Maguire wrote:
> I have a div to which I've added overflow: scroll because I need it to
> scroll vertically. This works fine in Firefox but in IE there are added
> horizontal scroll bars for no obvious reason. The div content doesn't need
> to expand horizontally, it fits perfectly fine, yet the scroll bars are
> there.
>
Actually, from your description, it sounds like IE has it right (show
both scrollbars) and FF doesn't (show only the scrollbar that is
needed). However, there is probably something else going on here, so we
have to see a page to help you.
If you want to only show whichever scrollbar is necessary, overflow:
auto is what you need.
Zoe
--
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/