tags:

views:

47

answers:

2

What would make a html element e.g. an ul aboslutely positioned with a zindex of say 5000 to appear below a div of a lower zindex say 0? This behaviour is seen in IE8.

+3  A: 

Just because it has a higher z-index doesn't mean it'll be on top. You have to take into account the parent's stacking level and this becomes the stacking context. Try giving a non-static position ( relative ) to the parent of the 5000.

If that doesn't work, post the relevant HTML.

meder
+1 More on stacking contexts at the [SitePoint CSS Reference](http://reference.sitepoint.com/css/stacking).
BoltClock
A: 

What is the content that is ending up on top? Youtube embeds for example will show on top http://wsmithdesign.wordpress.com/2010/10/07/jquery-drop-down/ unless param name=”wmode” value=”opaque” for object … and … wmode=”opaque” are added/

Wayne