Limiting the displayed height of a select drop-down
I have a <select>
with a lot of <option>
's. Is there any way to limit the height开发者_如何学编程 of the displayed <select>
when opened?
the size limit is controlled by the browser and not something you can alter.
See this answer: Height of an HTML select box (dropdown)
精彩评论