Previous Message
Next Message

Submenus under container in horizontal dropdown layout--revisited

Sent by James Smith on 31 March 2006 13:01

Debbie wrote:

>> I'm trying to put together a sample layout page for horizontal dropdown SOS menus based mostly on
the code on I've got it looking great, all except that the submenus appear
*underneath* the container in IE only. The other week when I was trying to put a horizontal dropdown
layout together, Georg on this list suggested I apply a z-index to the top level element...this
worked okay then but there were other issues so I started from scratch, redoing the code according
to But for some reason, applying the z-index to the top element doesn't seem to be
working this time, and I didn't see a specific reference to this problem on Does
anyone know of a (relatively) simple solution?

Hi Debbie,

I also had this problem with my suckerfish menus... In theory z-index only works with positioned
elements - 
Try putting your z-index declaration on the #menu li ul rather than the #menu li:hover ul. 

css-discuss [EMAIL-REMOVED]]
IE7b2 testing hub --
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Possibly related: