Ale*_*lli 5 html css select internet-explorer
我已经建立了一个下拉菜单,我自定义了向下箭头.
没关系,工作正常.
在IE 10中,当我打开下拉列表时,我有黑色边框.
有没有办法降低那些或改变它们的颜色?
CSS
#contact #tabs #bord td select {
background: url("/static/img/down-arrow.png") no-repeat right #fff;
border:none;
padding: 0 5px;
overflow:hidden;
width: 120%;
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
-o-appearance: none;
appearance: none;
}
select::-ms-expand {
display: none;
}
Run Code Online (Sandbox Code Playgroud)
HTML/CMS模板
<td colspan="2">
<div class="styleSelect">
<select name="topic" class="desktopDropDown" style="border:none;">
{% with request|enquiry_topics as topics %}
{% for t in topics %}
<option value="{{t.id}}">{{t}}</option>
{% endfor %}
{% endwith %}
</select>
</div>
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
3778 次 |
最近记录: |