DIV覆盖DropDownList解决方案(转)

两种解决方案:

(1)在Div中放1个空的iframe
 
HTML code
<select size="1"> <option value="a">a</option> <option value="b">b</option> </select> <div class="f"><iframe width="0" height="0" frameborder="0"></iframe>我是导航菜单,谁敢挡住我?</div>


(2)把DropDownList用Span包裹起来
HTML code
<span style="z-index:-9999"> <select size="1"> <option value="a">a</option> <option value="b">b</option> </select> </span> <div class="f">我是导航菜单,谁敢挡住我?</div>
posted @ 2010-04-15 17:03  acles  阅读(537)  评论(0编辑  收藏  举报