Select boxes do not have scroll bars.
Perhaps you have the select box inside another container such as a div or span that could have it's overflow property set to disallow scrollbars.
The problem though is that there is no way to readily control how wide a select box will display other than to control the size and length of text that goes into it.
Put it inside a container set not to be able to display scrollbars and you end up with a select that gets chopped at the end.
At my age I still learn something new every day, but I forget two others.
Why do you want to disable the scrollbar? What effect are you trying to achieve? You can set the "size" attribute to be greater than or equal to the number of items in the select box so it doesn't scroll vertically. Is that what you're looking for?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.