1 reply [Last post]
Nigel Moore
Offline
newbie
Last seen: 15 years 47 weeks ago
Timezone: GMT+1
Joined: 2003-08-21
Posts: 2
Points: 0

I have a site that uses two DIVs to contain menus. The overflow property for each is set to auto so that scrollbars are only seen if the content is too big for the DIV. Natch.

This works fine in both IE5.0 and IE5.5.

Each menu item appears within its own DIV. The reason being that I want to change the background on mouse hover, but I want it applied to the width of the menu, not just the menu item text.

In order to get the menu item DIVs to stretch across the menu DIV, but not invoke horizontal scrollbars, I set their width to 100%. This works fine in IE5.5, but in IE5.0 the menu item DIV seems to stop short of where the vertical scrollbar would be, even if it's not shown.

Like so: http://www.truffy.com/test/css_ie.html

Is there any way of getting menu item DIVs to take the full width of the menu in IE5.0?

entact
Offline
newbie
Last seen: 15 years 47 weeks ago
Joined: 2003-08-22
Posts: 1
Points: 0

Difference in nested DIV appearance in IE5.0 vs IE5.5