css实现div在下拉菜单之上
!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在下拉菜单之上/title>
style type="text/css">
div{
position:absolute;
top:100px;
left:100px;
z-index:2;
height:200px;
width:200px;
background:#f0c}
iframe{
position:absolute;
top:0;
left:0;
z-index:1;
background:#CF0}
select{
width:100%}
/style>
/head>
body>
div>
/div>
iframe>
1212/iframe>
select>
option>
/option>
/select>
select>
option>
/option>
/select>
select>
option>
/option>
/select>
select>
option>
/option>
/select>
select>
option>
/option>
/select>
select>
option>
/option>
/select>
select>
option>
/option>
/select>
select>
option>
/option>
/select>
select>
option>
/option>
/select>
select>
option>
/option>
/select>
select>
option>
/option>
/select>
select>
option>
/option>
/select>
/body>
/html>
ffcod = delpost.runcode1 .value;
ffcod = ffcod.replace(/
/g,'');
delpost.runcode1 .value = ffcod;
提示:您可以先修改部分代码再运行
声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!
若转载请注明出处: css实现div在下拉菜单之上
本文地址: https://pptw.com/jishu/584779.html