I have a <select>
with a lot of <option>
's. Is there any way to limit the height of the displayed <select>
when opened?
Asked
Active
Viewed 3.2k times
6

Josh Smith
- 14,674
- 18
- 72
- 118
-
possible duplicate of [Height of an HTML select box (dropdown)](http://stackoverflow.com/questions/570642/height-of-an-html-select-box-dropdown) – Brad Mace Dec 16 '10 at 03:48
-
3@bemace, it may be a dupe, but I didn't find that initially myself (and I always check the way I typed the question). I personally think dupe questions that rephrase in a way that could help someone else find it (like me!) and yet lead to the original are okay. – Josh Smith Dec 16 '10 at 03:50
1 Answers
11
the size limit is controlled by the browser and not something you can alter.
See this answer: Height of an HTML select box (dropdown)
-
1Yeah, this was just pointed out to me in #jquery. Thanks for the quick answer, though! Will accept this in 6 minutes. – Josh Smith Dec 16 '10 at 03:48