gpt4 book ai didi

css - Bootstrap 下拉菜单在 Internet Explorer 中的样式不正确

转载 作者:技术小花猫 更新时间:2023-10-29 11:20:36 27 4
gpt4 key购买 nike

我在我的 Angular 元素中使用 Twitter Bootstrap 类。对于下拉菜单,样式在 Chrome 中工作正常,但当我将其加载到 IE 11 中时,它的样式不正确。特别是下拉箭头按钮。

有没有其他人在使用 IE 时遇到过这个问题?我将如何解决这个问题?请在下面查看我的问题的比较照片。

enter image description here

下面还有我的 html 部分,欢迎任何评论,在此先感谢!

 <select class=" btn btn-default"  ng-options="obj for obj in data.finding"
ng-model="gapSection.finding" >
<option value="">Please select</option>
</select>

最佳答案

我刚刚解决了 IE 使用:

select::-ms-expand {
border:none;
background:#fff;
}

Source

关于css - Bootstrap 下拉菜单在 Internet Explorer 中的样式不正确,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28185527/

27 4 0