首页  >  文章  >  web前端  >  这个下拉框在ie6怎么控制可输_html/css_WEB-ITnose

这个下拉框在ie6怎么控制可输_html/css_WEB-ITnose

WBOY
WBOY原创
2016-06-24 12:25:38940浏览


  
  

以上代码可以在ie9.0下实现可输入的下拉框,但在ie6下时输入的文本框就没有了 ,怎么弄才你能可以在ie6下可以用,要简单的。

回复讨论(解决方案)

 .my_select {	position:relative;	margin:100px;	font-size:12px;}.my_select_select {	position:absolute; left:0; top:0; *top:1px;	width:100px;	clip:rect(0 auto auto 80px);	height:22px; line-height:18px;	background:#09C;}.my_select_text {	width:80px; *height:16px; *line-height:16px;}[code=html]<div class="my_select">    <select class="my_select_select" id="my_select_select02"  onchange="document.getElementById('my_select_text02').value=this.value">        <option value="1_1" selected>1_1</option>        <option value="1_2">1_2</option>        <option value="1_3">1_3</option>    </select>    <input class="my_select_text" id="my_select_text02" /></div>
[/code]

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn