首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

下拉菜单被div堵住

2013-07-08 
下拉菜单被div挡住用IE打开看下面菜单被下面一条挡住了,真是很奇怪文件下载地址:http://pan.baidu.com/sha

下拉菜单被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;
}
你所说的挡住是指右侧吗?你把宽度减少点就行了.

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


下拉菜单被div堵住不是这个吗?

热点排行