Height of an HTML select box (dropdown)

前端 未结 7 616
天涯浪人
天涯浪人 2020-11-22 08:48

Can someone confirm that its not possible to change the height of a dropdown that is shown when you click on a select box.

The size attribute of th

相关标签:
7条回答
  • 2020-11-22 09:29

    Actually you kind of can! Don't hassle with javascript... I was just stuck on the same thing for a website I'm making and if you increase the 'font-size' attribute in CSS for the tag then it automatically increases the height as well. Petty but it's something that bothers me a lot ha ha

    0 讨论(0)
提交回复
热议问题