我正在修复css的下拉截止问题。它对我来说工作正常。我正在使用下拉箭头。此下拉菜单在 ie7 和 ie6 中不可见。我附上了一张图片。
我尝试并减少了 filter: for ie7 可见的不透明度,但使文本消失。我可以修复它吗?
需要帮助使其在 ie7 中可见。
<style type="text/css">
.styled-select select {
background: transparent;
width: 100%;
width: auto;
padding: 5px;
line-height: 1;
border: 0px none transparent;
border-radius: 0;
outline:0;
height: 30px;
-webkit-appearance: none;
position:absolute;
top:-2px;
left:-1px;
}
.styled-select {
width: 155px;
height: 25px;
overflow: hidden;
background-image: url("dropdown-arrow.gif");
background-repeat: no-repeat;
background-position:top right;
background-color:#fff;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
-moz-box-shadow: inset 0px 1px 2px #ccc;
-webkit-box-shadow: inset 0px 1px 2px #ccc;
box-shadow: inset 0px 1px 2px #ccc;
border: 1px solid #c3c3c3;
position:relative;
}
</style>
<div class="styled-select">
<select>
<option value="0">Please Select</option>
<option value="BILLING" >Default Billing</option>
<option value="Auburn Office" >Auburn Office</option>
<option value="Boston Office" >Boston Office</option>
<option value="Central Ave Office" >Central Ave Office</option>
<option value="Knoxville Office" >Knoxville Office</option>
<option value="Seahawks HQ" >Seahawks HQ</option>
<option value="Test Ship To Address Field Lenght with this line 1" >Test Ship To Address Field Lenght with this line 1</option>
<option value="Zones" >Zones</option>
<option value="test address" >test address</option>
</select>
</div>