When I use the html select box, which contains about 50 elements, I get a very long list that appears completely. Instead, I would like to use scrollbars. how to do it?
You need to use CSS, especially height and overflow:
CSS
.select{ height:100px; overflow:scroll; }
HTML
<select class="select"></select>
If you need something more specific, ask!
This is not possible in HTML. See HTML Selection Window Height (dropdown menu)
There are other ways to achieve this, although javascript or jQuery, with links on this page to some jQuery plugins that create a "fake" html flag that looks and behaves as one, but can have a set height.
It is not possible to set the number of visible items for one value selection window. There is a size attribute, but this will convert the drop-down list to multiple select lists.
Source: https://habr.com/ru/post/1347215/More articles:Shadow for custom mouse cursor (2) - windowsgem list pdfkit for generating excel ruby - excelHow to use multiple forms in one csharp panel on one windows form panel? - c #Rails 3: How to Override a Method in Stone - ruby-on-rails-3Enabling the Aero effect in Windows Server 2008 R2 - windows-server-2008-r2HTML selectbox Number of list items - htmlhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1347217/desktop-notifier-with-no-visible-form-to-user&usg=ALkJrhh9mtbyJLy3eCZ5DNjmDE-Z2-IAlQCreating a Windows service with user notification in C #? - .netAbstract class, copy constructor - c ++How to run GW-Basic under Ubuntu? - gw-basicAll Articles