日期:2014-05-17  浏览次数:20391 次

下拉菜单被div挡住
用IE打开看
下面菜单被下面一条挡住了,真是很奇怪

文件下载地址:

http://pan.baidu.com/share/link?shareid=1914699738&uk=3355734481

有谁帮看看 


------解决方案--------------------
position:relative;
 <DIV style="VISIBILITY: hidden;position:relative;" id=subdiv class=subsystem>

------解决方案--------------------
把要在上面的层设置样式 z-index:999999
把要在下面的层设置样式 z-index:1
------解决方案--------------------
z-index
------解决方案--------------------
css属性设置的位置我不清楚你是怎么设置的CSS属性是在控件中写的还是别的地方,我给你个参考
   <select style=" z-index:1"><option> </option></select>
    <div style=" z-index:-1">
 <a>test</a>
    </div>
------解决方案--------------------
没下控件 你看看你 z-index 或者 DIV高度,宽度之类的 是否都有设定正确。
------解决方案--------------------
设置层z-index
------解决方案--------------------
引用:
我仔细的看了下你的程序在style程序里已经明确定义了
z-index属性
.subsystem
{
    width: 140px;
    position: absolute;
    z-index: 99999;    top: 90px;
    background-color: red;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-right-color: #7295b9;
    border-bottom-color: #7295b9;
    border-left-color: #7295b9;
}
你所说的挡住是指右侧吗?你把宽度减少点就行了.

++ 
------解决方案--------------------