由于IE6中DropDownList是Browser调用的系统控件,这种组件的显示优先级比普通的IE控件高,浮动层中的控件就不能够遮盖这些系统控件。

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

相关文章:

  • 2022-12-23
  • 2021-12-01
  • 2022-01-19
  • 2022-03-08
  • 2021-04-17
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-05
  • 2021-11-21
  • 2021-08-23
  • 2021-08-21
  • 2021-08-22
  • 2021-06-08
  • 2022-12-23
相关资源
相似解决方案