change the height of select option

Solutions on MaxInterview for change the height of select option by the best coders in the world

showing results for - "change the height of select option"
Juan José
18 Nov 2019
1@media screen and (-webkit-min-device-pixel-ratio:0) {  /*safari and chrome*/
2    select {
3        height:30px;
4        line-height:30px;
5        background:#f4f4f4;
6    } 
7}
8select::-moz-focus-inner { /*Remove button padding in Firefox */ 
9    border: 0;
10    padding: 0;
11}
12@-moz-document url-prefix() { /* targets Firefox only */
13    select {
14        padding: 15px 0!important;
15    }
16}        
17@media screen\0 { /* IE Hacks: targets IE 8, 9 and 10 */        
18    select {
19        height:30px;
20        line-height:30px;
21    }     
22}
Julian
20 Apr 2020
1NO. It's not possible to change height of a select dropdown because that property is browser specific.
queries leading to this page
select box height htmlchange the height of select optionchange height of select htmlincrease height and width of select tag in htmlselect box dropdown height csshtml select option style heightselect element html height and widthselect height htmlselect option heightcss select option heightchange height of html select dropdownselect option size height htmlselect tag heightselect option dropdown heightselect css height dropdownselect options height inside selectselect height 3cselect height htmlselect dropdown heightchange height of select dropdown csshow give a select field height in csshow to set height for the drop down of select box with cssselect options heighthow to decrese height of select elementhtml select heighthtml5 select heighthow to change height of selecthow to change height of select optiongive height to a select optionshow to change height of html selectedit option height csschange height of select field csshow to make select height to div heightset height for select optionset height select optionhtml set width and height select elementhtml select size heighthow to modify height option in select tagselect option height openhow to change select option height in cssselect option dropdown height cssselect dropdown option heighthow to decrease the height of select list box in htmlset height of select dropdown cssstyle select dropdown heighthow to reduce the height of select box in htmlchosen select heightselect dropdown height csshow to style the height of select optionsadjust the height of select element csscss set option heightset height of select dropdownselect box heightcss to define height for selectheight of select how to increase the height of select option in htmlhow increase height of select box in htmlhow to change height of select option htmlhow to change height of select option list csshow to set the height of select dropdownchange height of select option in htmlcss set height of select dropdownset height of select option cssselect tag height and widthcss reduce height of selectselect height of selectheight option select cssheight of a select elementheight option select dropdownhtml5 select height controlselect option css heighthtml css select option heighthow to decrease the height of select option in htmlheight option selecthtml select height widthheight select option csscss select heightselect option height csschange height select option htmladjust select heighthow to increase height of select box in htmlhtml select option height cssselect option list heightselect option size heightcontrol height of select optionhow to change select option heighthtml select height cssset height of chosen single select dropdownhow to set height of the select options when it is open in cssselect height csscss select height optionhow to make default height select option in htmlhtml height select boxselect options list heighthow to set height and width of select box in htmlcss height of select dropdownheight of select dropdownset height of chosen dropdown 3a 3aselection css heightselect css heightchange select option height csschange height of select field htmlselect drop down heighthow to add height to select optionschange the height of select option