当前位置: 代码迷 >> Web前端 >> DIV 掩住select input
  详细解决方案

DIV 掩住select input

热度:308   发布时间:2012-08-15 16:57:17.0
DIV 遮住select input
<div id= "menu " style= "position:absolute; visibility:hidden; top:20px; left:20px; width:100px; height:200px; background-color:#6699cc; ">
<table>
<tr> <td> item 1 </td> </tr>
<tr> <td> item 2 </td> </tr>
<tr> <td> item 3 </td> </tr>
<tr> <td> item 4 </td> </tr>
<tr> <td> item 5 </td> </tr>
</table>
<iframe src= "javascript:false " style= "position:absolute; visibility:inherit; top:0px; left:0px; width:100px; height:200px; z-index:-1; filter= 'progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0) '; "> </iframe>
</div>

<a href= "# " onclick= "document.getElementById( 'menu ').style.visibility= 'visible ' "> menu </a>

<form>
<select> <option> A form selection list </option> </select>
</form> 
  相关解决方案