IE seems to ignore the height set in CSS when rendering a HTML SELECT. Are there any work around's for this or do we have to just accept IE will not look as good as other browsers?
+2
A:
There is no work-around for this aside from ditching the select
element.
Ken Browning
2009-01-29 00:50:40
+1
A:
Use a UI library, like jquery or yui, that provides an alternative to the native SELECT element, typically as part of the implementation of a combo box.
Sparr
2009-01-29 01:34:06
I use jquery. Can anyone point to a good SELECT replacement that works with jQuery?
Craig
2009-01-29 01:51:54
like the one I linked to?
Sparr
2009-01-29 02:23:21
+2
A:
you can use a combination of font-size and line-height to force it to go larger, but obviously only in the situations where you need the font larger too
edit:
Example -> http://www.bse.co.nz EDIT: (this link is no longer relevant)
the select next to the big search box has the following css rules:
#navigation #search .locationDrop {
font-size:2em;
line-height:27px;
display:block;
float:left;
height:27px;
width:200px;
}
Darko Z
2009-01-29 01:43:09
font-weight can also have an effect. "font-weight: bold;" was having a positive effect for me without even realizing it (until I removed it today and found this article ;)
Campbeln
2010-07-13 05:45:11