IE6,下拉框遮挡解决的办法是:做两个浮动层,一个浮动层的根标签是IFrame,另一个浮动层的根标签是Div,两个浮动层的位置、大小均相等,然后先显示IFrame浮动层,再显示Div浮动层, 这样IFrame浮动层就为Div浮动层遮盖住了下面的控件。 demo: CSS:
<style type="text/css"> dl #iframe1{display:none;_display:block;position:absolute;top:0;left:0px;z-index:-1;filter:mask();width:110px;height:420px;} </style>
aspx:
<li id="dictionary" runat ="server" ><a href="#">维护 </a> <dl > <dd> <a href="dictAll.aspx?TableType=0" target="_self" title="The">资产类型</a> </dd> <dd> <a href="dictAll.aspx?TableType=13" target="_self" title="Styling">服务级别</a> </dd> <iframe id="iframe1"></iframe> </dl> </li>
IE6,下拉框遮挡
|