一个绝对位置的div(菜单),在它的下面盘旋时,一个透明PNG也是绝对位置,如下:
[img]http://blog.brenelz.com/files/bug.png[/img]
使用下面的代码
result:
[img]http://blog.brenelz.com/files/bug-fixed.png[/img]
来自:http://brenelz.com/blog/squish-the-internet-explorer-z-index-bug/
[img]http://blog.brenelz.com/files/bug.png[/img]
使用下面的代码
<div style="position: relative; z-index: 3000">
<div style="position:absolute;z-index:1000;">
<a href="#">Page</a>
...
</div>
</div>
<img style="position:absolute" src="myimage.png" />
result:
[img]http://blog.brenelz.com/files/bug-fixed.png[/img]
来自:http://brenelz.com/blog/squish-the-internet-explorer-z-index-bug/