Hi guys,
I am trying to set the height on a select element using CSS with no success.
.selectHolder select
{
width:215px;
height:26px;
padding:4px;
}
This works fine in FF and IE but not in Safari - any ideas why not?
Thanks
sinky
Hi guys,
I am trying to set the height on a select element using CSS with no success.
.selectHolder select
{
width:215px;
height:26px;
padding:4px;
}
This works fine in FF and IE but not in Safari - any ideas why not?
Thanks
sinky
no html, no joy
You can’t style the height of a select element in Safari (just as you can’t set a height in IE7 and under either)
You can use line-height for Safari.
line-height:26px;
You can’t do anything for IE6 and 7 though as they accept neither height nor padding.
With some form controls its best just to leave them alone if you can