2 replies [Last post]
elhombresinatributos
Offline
newbie
Last seen: 14 years 9 weeks ago
Joined: 2006-09-26
Posts: 2
Points: 0

Hello all.

I have a problem (only in IE 6) with a left expanding menu.
In firefox when I go over a menu item with a "+" sign it opens to the left.
In IE it doesn't open at all.

I think the problem is in this part of the css code:

ul#primary-nav ul {
position: absolute;
display: none;
left: -206px; /* Set 1px less than menu width */
top: 0;
}

I suppose IE doesn't like the negative positioning of the sub-menu, but I don't know how to do it not using negative values:

You can see an example of the problem here:
Test Page

The CSS of the menu is here:
CSS CODE

Can anyone help fixing this IE issue?

Thanks a lot.

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 6 years 6 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

This menu works via the

This menu works via the :hover on the li elements. IE doesn't support :hover on anything but anchors. You need javascript for IE.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

elhombresinatributos
Offline
newbie
Last seen: 14 years 9 weeks ago
Joined: 2006-09-26
Posts: 2
Points: 0

Thanks

I forgot that. It works now.