I have a <select> with a lot of <option> . Is there a way to limit the height of the displayed <select> when opening it?
<select>
<option>
the size limit is controlled by the browser, not what you can change.
See this answer: HTML selection window height (dropdown menu)
According to the W3C specification, size will limit the number of visible parameters in the <select> element.
size
Source: https://habr.com/ru/post/1332299/More articles:Animation Field Values ββBetween States in WPF - wpfmember initialization inside or outside the constructor - c #Best practice for updating / writing a static variable? - javaJQuery / javascript variable scope - javascriptPHP - preg_replace elements in brackets with array elements - phpConsiderations Before Testing - unit-testingphp sql synchronous wait - databaseCompare with size_t, return int? - c ++Entity Framework incorrectly saves an object when I never added it to the context - .netUIImage stretchableImageWithLeftCapWidth does not work when drawing in quartz context - iphoneAll Articles