Internet Explorer 7 - 绝对位置 - 下拉菜单

发布于 2024-08-29 10:16:21 字数 285 浏览 0 评论 0原文

我在将下拉菜单定位到以下 URL 时遇到了很大的麻烦(仅限 Internet Explorer 7 问题):

http://tinyurl.com /y7v2qj9

将鼠标悬停在菜单上时,您将看到下拉菜单出现在图像后面。这种情况在 IE8 或 Firefox 中不会发生,只会在 IE7 中发生。我认为它一定与我不知道的特定错误有关,无法找到解决方案。

非常感谢您的帮助。

I am having a big trouble positioning my dropdown menu on below URL (Internet Explorer 7 problem only):

http://tinyurl.com/y7v2qj9

When hovering the menu, you will see that the drop down appears behind the image. This doesn´t happen in IE8 or Firefox, only in IE7. I think it must be related to a specific bug which i am unaware of, can´t find the solution.

Your help is greatly appreciated.

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

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

发布评论

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

评论(1

晚风撩人 2024-09-05 10:16:21

为列表项指定一个高于图像的 z-index 值。例如:

ul.dropdown li {
    z-index: 10;
}

Give the list items a z-index value which is higher than the image. E.g.:

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