Click to See Complete Forum and Search --> : <option> tag and Fonts


wmacey
03-28-2003, 10:48 PM
Is there anyway to vary the fonts used in a dropdown?

The idea is as follows:

<select style="height:21px; width:250px">
<option><font font_style_1>Option_Text_1</font></option>
<option><font font_style_2>Option_Text_2</font></option>
<option><font font_style_3>Option_Text_3</font></option>
<option><font font_style_4>Option_Text_4</font></option>
<option><font font_style_5>Option_Text_5</font></option>
<option><font font_style_6>Option_Text_6</font></option>
</select>

but I tried that and it doesn't seem to work at all. If THis is not possible, is it possible to specify a font to use in the dropdown without affecting the size(height and width) of the dropdown when it is renered?

Cactus Hugger
03-28-2003, 10:50 PM
I think this is only possible with CSS.