IE滚动条错误

时间:2017-06-12 09:26:38

标签: javascript html internet-explorer

IE bug, how to remove scrollbar in this dropdown, I don't need this? In chrome works fine, no scrollbar.

我的代码:

<div class="form-group">
<label class=""> </label>
<select>
<option value=""></option>
<option value="Used">one</option>
<option value="UnderRepair">two</option>
<option value="WriteOff">three</option>
<option value="Destroyed">four</option>
</select>
</div>

1 个答案:

答案 0 :(得分:3)

如果你想隐藏滚动,这可能会起作用

    .form-group select{
    -ms-overflow-style: none;
    overflow: auto;
}