解决div总是被select遮挡的问题

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>解决div总是被select遮挡的问题-懒人图库</title>
<style>
body{margin:0px;padding:0px;}
#message_box{ position:absolute; width:800px; height:536px; z-index:10000; visibility:hidden; border:#000 3px solid;background-color:#FFF;margin:40px 0px 0px 50px;}
#mask{ position:absolute; top:0; left:0; width:expression(body.scrollWidth); height:expression(body.scrollHeight); background:#000; filter:ALPHA(opacity=80); z-index:1; visibility:hidden}
.close-what{float:right;cursor:hand;}
.message{background-color:#F4F4F4;width:754px;height:200px;margin:20px 20px 20px 20px;color:#FF6600;}

</style>
</head>

<body>

    <div id="message_box"><iframe src="" style="width:800px;height:536px;top:0px;left:0px;position:absolute;visibility:inherit;z-index:-1;" frameborder=0></iframe>
     <div class="close-what" οnclick="document.getElementById('message_box').style.visibility='hidden';document.getElementById('mask').style.visibility='hidden'"><img src="/images/close-what.gif"></div>
     <div class="message">
       <p>麦田怪圈(Crop circle)是在麦田或其他农田上,透过某种力量把农作物压平而产生出几何图案。此现象在1970年代后期才开始引起公众注意。目前,有众多麦田圈事件被他人或者自己揭发为有人故意制造出来以取乐或者招揽游客。唯麦田圈中的作物“平顺倒塌”方式以及植物茎节点的烧焦痕迹并不是人力压平所能做到,也有麻省理工学院学生试图用自制设备反向复制此一现象但依然未能达成,至今仍然没有解释该现象是何种设备或做法能够达到。此点也是外星支持论者的主要物证基础。</p>
       <p>效果演示:<a href="http://www.maitianquan.com/" target="_blank">麦田圈</a></p>
     </div>
</div>
    
    <div id="mask"></div>
    <table width="960" height="2603" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="960" height="303" align="center"><p><span οnclick="document.getElementById('mask').style.visibility='visible';document.getElementById('message_box').style.visibility='visible'" style="cursor:hand"><a href="#">什么是麦田圈?</a></span>
                      </p>
                      <p>
                        <select name="select">
                          <option value="西西">还能看到我吗</option>
                        </select>
                        </p>
                      <p>效果演示:<a href="http://www.maitianquan.com/" target="_blank">麦田圈</a></p>
                    <p>只要在层里面加上下面代码就可以了~</p>
                    <p><iframe src="" style="width:800px;height:536px;top:0px;left:0px;position:absolute;visibility:inherit;z-index:-1;" frameborder=0></iframe></p>
                    <p>整理:<a href="http://www.lanrentuku.com/" target="_blank">西西</a>(转载请保留此信息)</p>
                    <p>查找更多代码,请访问:<a href="http://www.lanrentuku.com/" target="_blank">懒人图库</a></p></td>
                  </tr>
                  <tr>
                    <td height="2300" align="center"></td>
                  </tr>
                </table>
    <!-- //message_box -->
</body>
</html>

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值