[css-d] IE loosing z-index when parent elem has position: relative

2006-05-12 Thread Mike Botsko
I have DIV within a DIV that is hidden until a user clicks a javascript link to make it visible. div id=promoEnterPromoCode (a href=javascript:togglePromoWindow()I have a promo code/a) div id=enterPromoBlk Some form /div /div Css is: #promoEnterPromoCode { display: block; position:

Re: [css-d] IE loosing z-index when parent elem has position: relative

2006-05-12 Thread Mike Botsko
Here is a link to an example. If you click on a link in IE, IE ignores the z-index as long as the parent div has a position: relative. Any ideas how I can make IE place the inner div above other page elements instead of behind them? http://www.botsko.net/Test/zindex.htm -Original

Re: [css-d] IE loosing z-index when parent elem has position: relative

2006-05-12 Thread Gunlaug Sørtun
Mike Botsko wrote: [...] Any ideas how I can make IE place the inner div above other page elements instead of behind them? http://www.botsko.net/Test/zindex.htm Yes, but I dislike my solution so much that I erased it four times :-( I have no idea if what I came up with will work on a real