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 alistapart.com. 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 alistapart.com. 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 alistapart.com. Does
anyone know of a (relatively) simple solution?

http://www.drkdesign.com/sample_layouts/horiz_dropdown/
http://www.drkdesign.com/sample_layouts/horiz_dropdown/css/drk_menu_h.css


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. 

James
______________________________________________________________________
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/
Previous Message
Next Message

Possibly related: