div等浮层在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>

—-想了解更多的linux相关异常处理怎么解决关注<计算机技术网(www.ctvol.com)!!>



本文来自网络收集,不代表计算机技术网立场,如涉及侵权请联系管理员删除。

ctvol管理联系方式QQ:251552304

本文章地址:https://www.ctvol.com/htmltutorial/78078.html

(0)
上一篇 2020年4月22日
下一篇 2020年4月22日

精彩推荐