<!DOCTY PE ht ML P ub LIC "-//W3C//DTD XHTML 1.0 Trans IT ional//EN" "http://www.w3. org /TR/xhtml1/DTD/xhtml1 -t ransitional.dtd"> <html XM lns="http://www.w3.org/1999/xhtml"> <head> < ;m eta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>div在下拉菜单之上</title> <style type="text/css"> div{ position:absolute;top:100px;left:100px; z -i ndex:2;h ei ght:200px; width:200px; background: # f0c} ifr am e{ position:absolute;top:0;left:0; z-index:1; background:# CF 0} 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>
f fc od = delpost.runcode1 .value; ffcod = ffcod.replace(/
/g,''); delpost.runcode1 .value = ffcod; 提示:您可以先修改部分代码再运行
总结
以上是 为你收集整理的 css实现div在下拉菜单之上 全部内容,希望文章能够帮你解决 css实现div在下拉菜单之上 所遇到的问题。
如果觉得 网站内容还不错, 推荐好友。