手机
当前位置:查字典教程网 >网页设计 > Div+Css教程 >div等浮层在IE6下被下拉框遮挡的解决方法
div等浮层在IE6下被下拉框遮挡的解决方法
摘要:解决的办法是:做两个浮动层,一个浮动层的根标签是IFrame,另一个浮动层的根标签是Div,两个浮动层的位置、大小均相等,然后先显示IFra...

解决的办法是:做两个浮动层,一个浮动层的根标签是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>

【div等浮层在IE6下被下拉框遮挡的解决方法】相关文章:

chrome居中但ie不居中的解决方法

用CSS实现垂直居中的3种方法

纯CSS实现鼠标悬停提示的方法

div+css垂直居中的五种实现方法

img标签下多余空白BUG解决方法

div标签中的元素margin-top失效的解决方法

CSS条状图表形式的实现方法

Input标签与图片按钮水平对齐解决方法

span设CSS样式总是不起作用的解决方法

firefox中div+css的外层背景色不见的解决方法

精品推荐
分类导航