为什么我的CSS下拉菜单在IE7的DIV后面打开? [英] Why is my CSS drop-down menu opening behind a DIV in IE7?

查看:119
本文介绍了为什么我的CSS下拉菜单在IE7的DIV后面打开?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题一直在困扰我。

This issue has been stumping me.

这只发生在IE7中。我看到一些类似的科目,并尝试解决方案,但无法让他们上班。

This only happens in IE7. I saw some similar subjects, and tried the solutions, but couldn't get them to work.

任何想法?

http://signhit.com/

谢谢!!!

推荐答案

请参阅: div分层问题


一般的想法是戳位置:
相对
(通常删除它)和
z-index
的父元素

The general idea is to poke position: relative (usually remove it) and z-index on parent elements of your drop down until it's fixed.

我不是在开玩笑关于 position:relative

您显然已经阅读了您遇到的问题,并尝试了解决方案;我可以在各种元素上看到 z-index

You've obviously already read up on the problem you're experiencing and tried out the solutions; I can see z-index scattered around on various elements.

还有一个步骤修复IE7中的下拉列表:

There's one more step to fix the dropdown to work in IE7:


  • #content 删除 position:relative

  • From #content, remove position: relative.

这篇关于为什么我的CSS下拉菜单在IE7的DIV后面打开?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆