On 15 Jun 2007, at 13:55, Ingo Chao wrote:

> Ben Darlow wrote:
>>> Can we see your page actually showing the bug, alternatively, could
>>> you
>>> please upload a testcase that shows the bug?
>>
>> It took a while but I've been able to isolate the problem within a
>> small test case, which I have uploaded:
>>
>>      http://www.kapowaz.net/zindexbug/
>>
>> Note that this problem only occurs in IE6 and 7.
>>
>> Cheers,
>> Ben
>
> Thanks.
>
> These .information blocks have position:relative and therefore
> erroneously perform stacking contexts in IE.
>
> If resetting this positioning to static is not an option, you could
> apply another class like .level { z-index:1; zoom: 1;} to the first
> information block.
>
> Depending on your original layout, this zoom:1, although its necessary
> to set haslayout here, may cause troubles, or fix other problems,  
> who knows.

Excellent advice, much appreciated! That worked brilliantly. Some  
other elements were also appearing incorrectly stacked, but they also  
had position:relative set so I've tweaked these as well. As far as I  
could tell, the things with position:relative designated didn't  
actually need it to behave as they had already, so I've struck them  
from the stylesheet.

Thanks again!

Ben
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/

Reply via email to