开发者

Removing the scroll bar from a select element

Is there a way to remove the scroll bar in a select element with the 'multiple' attribute enabled?

<select name="test" multiple>
    <option value="foo">Foo</option>
    <option value="bar">Bar</option>
    <option value="baz">Baz</option>
</select&g开发者_运维知识库t;


You should not remove it actually for accessibility reasons. If you do so, it would look like a textarea rather than a multi selectbox.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜