为什么 IE 中的 Z-Index 不能按照 Flash 影片应有的方式渲染?

发布于 2024-07-16 16:48:54 字数 197 浏览 7 评论 0原文

我正在一个有两个绝对定位的 div 的网站上工作...徽标和菜单(导航栏)

IE 正在埋葬它们,即使在多次尝试 z-index 操作之后也是如此。 天哪,为什么 IE 不能像 Firefox 甚至 Opera 一样工作?

更新......

我忘了提及这些 div 位于 Flash 电影上方。 我怎么可能把它遗漏了?!

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?!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

黯然 2024-07-23 16:48:54

如果您的 Flash 影片掩盖了您的其他内容,您可能会幸运地向嵌入的对象添加一个额外的 param 元素:

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

对于更长的答案,您可以看到这个 有关堆叠窗口/Flash 内容的博客文章。 Adobe 也有一个关于此问题的技术说明

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.

两个我 2024-07-23 16:48:54

IE 有几个有据可查的 Z 索引错误。 看来 IE 为定位元素创建了一个新的堆叠上下文。 请参阅此处

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

一片旧的回忆 2024-07-23 16:48:54

这也是IE7中的一个问题。
这是描述问题的链接: http://therealcrisp.xs4all.nl/meuk/IE -zindexbug.html

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

掩耳倾听 2024-07-23 16:48:54

这是 IE6 的一个已知错误(我假设您正在使用它)。 以下是一些描述和一些帮助: http://www.last- child.com/conflicting-z-index-in-ie6/

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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文