Forum Moderators: not2easy
Is there a way to set a relative height value for the select tag in Mozilla/Firefox from css? When the user increases¦decreases the text size(Ctrl + +¦-), the combobox only grows width-wise, not height-wise. I haven't figured out how to tie it into a relative text position ( height:[n]ex; ). On a side note, IE requires that the font be set on select instead of option for the height to grow with the font size. This was the IE solution for the problem.
Ex css.
select{
font:normal normal normal 0.8em/1.4em geneva,lucida,arial,helvetica,sans-serif;
padding:0;
margin:2px;
width:auto;
height:2em;/*doesn't work*/
}
option{
line-height:1.4em/*doesn't work*/
padding:0.1em;
width:auto;
height:3ex;/*doesn't work*/
}