Solution to div always being blocked by select_Experience exchange

WBOY
Release: 2016-05-16 12:05:26
Original
3233 people have browsed it

 

 
­ 
 
­ 
div被select遮挡的解决方法——脚本之家 
 
 
­ 
 
­ 
 
­ 

color:blue;width:100;height:18;overflow:hidden;" >aaaaaaa
bbbbbbb
ccccccc
 
­ 
 
­ 

 
­ 
  <br>­  <br>Div被Select挡住,是一个比较常见的问题。  <br>­  <br>有的朋友通过把div的内容放入iframe或object里来解决。  <br>­  <br>可惜这样会破坏页面的结构,互动性不大好。  <br>这里采用的方法是:  <br>虽说div直接盖不住select  <br>­  <br>但是div可以盖iframe,而iframe可以盖select,  <br>­  <br>所以,把一个iframe来当作div的底,  <br>­  <br>这个div就可以盖住select了.  <br>
Copy after login
 
­ 
 
­ 
 
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template