>  기사  >  웹 프론트엔드  >  这个下拉框在ie6怎么控制可输_html/css_WEB-ITnose

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

WBOY
WBOY원래의
2016-06-24 12:25:38937검색


  
  

以上代码可以在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으로 문의하세요.