On Fri, 24 Sep 2004 22:55:41 +0100, Dan Abrey <> wrote:
>
> "Loane Sharp" <> wrote in message
> news:cj1tns$kep$...
>> Hi there
>>
>> Is there any way to change the font (family, size, etc.) from the
>> default
>> (apparently Arial 12pt regular) in a drop-down list created using the
>> <OPTION></OPTION> tags?
>>
>> Best regards
>> Loane
>>
>>
>
> Yes, use CSS and the 'select' selector. i.e.:
>
> select {
> font-family: Verdana, Arial, sans-serif;
> font-size: 0.8em;
> }
But if you have set body font-size, and to anything but 100%, this will
couse problems. I'd recommend using percents here. 0.8em is equivalent to
80%.
Be aware also that sizes below 100% might not be readable. Take the risk
if you dare. I'd never take the risk with a form element.
|