Why doesn't Z-Index in IE render the way it's supposed to over a Flash Movie?

戏子无情 提交于 2019-12-28 18:05:01

问题


I am working on a site with two absolutely positioned divs... the logo and the menu (navbar)

IE is burying them both, even after multiple tries of z-index manipulation. Why can't IE work as well as Firefox or even Opera for God's sake?

UPDATE.......

I forgot to mention that these divs are positioned over a flash movie. How could I possibly have left that out?!


回答1:


If your flash movie is burying your other content you may have luck by adding an additional param element to your embedded object:

<param name="wmode" value="opaque" />

For a longer answer you can see this blog post about stacking windowed / flash content. Adobe has a TechNote about this issue, too.




回答2:


IE has several well-documented Z-index bugs. It seems IE makes a new stacking context for positioned elements. See here.




回答3:


This is also an issue in IE7. Here's a link describing the problem: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html




回答4:


This is a known bug with IE6 (which I'm assuming you're using). Here's some description and some help: http://www.last-child.com/conflicting-z-index-in-ie6/



来源:https://stackoverflow.com/questions/761402/why-doesnt-z-index-in-ie-render-the-way-its-supposed-to-over-a-flash-movie

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!