html – 当下拉菜单打开时黑色边框 – IE 10

前端之家收集整理的这篇文章主要介绍了html – 当下拉菜单打开时黑色边框 – IE 10前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
@H_301_0@

我已经建立了一个下拉菜单,我自定义了向下箭头.

没关系,工作正常.

在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;

 }

HTML / CMS模板

 
最佳答案
不幸的是,选择框上的弹出窗口无法在包括IE10在内的任何浏览器上设置样式.

您可以使用this library创建自定义下拉菜单.但是您需要添加Javascript以填充表单字段或执行其他功能.

原文链接:https://www.f2er.com/html/426011.html

猜你在找的HTML相关文章