...

View Full Version : Resolved CSS Dropdown Menu Behind Div In IE7



TiredChildren
06-04-2010, 12:23 AM
Hi guys,

I'm having an issue with a CSS dropdown menu on my site going behind a div in IE7. I've tried removing all position:relative tags from containing divs, but nothing seems to be helping. Can someone see what the problem might be?

Here's the page in question: http://www.SomnoMedics.com

Thanks!

TiredChildren
06-04-2010, 12:30 AM
Welp, nevermind. Looks like I hadn't tried everything. Situation fixed.

JasonSage
06-04-2010, 12:32 AM
The DOM specifies that if elements intersect, the "later" element (the one closest to the bottom of the code) will go on top of the earlier element. That said, if you specify a z-index for each item, with a higher number on the item that should go overtop, that should do the trick.

http://www.w3schools.com/css/pr_pos_z-index.asp

EDIT: Ha, beat me to the punch.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum