posted 17 years ago
Hi
I have the following code which i am trying to get work.All i need is to display the font in the same font style in the dropdown list.I mean i want to see the option in the dropdown in the same font.Arial should be seen as Arial.But this is not working.Can somebody help?
<select size="1" name="SelectFont" onChange="dosomething()">
<option style="font-family: AndaleMono;" value="Andale Mono">Andale Mono</option>
<option style="font-family: Arial;" value="Arial">Arial</option>
<option style="font-family: Arial Black;" value="Arial Black">Arial Black</option>
<option style="font-family: Arial Narrow;" value="Arial Narrow">Arial Narrow</option>
<option style="font-family: Comic Sans MS;" value="Comic Sans MS">Comic Sans MS</option>
<option style="font-family: Courier New;" value="Courier New">Courier New</option>
<option style="font-family: Helvetica;" value="Helvetica">Helvetica</option>
<option style="font-family: Impact;" value="Impact">Impact</option>
<option style="font-family: System;" value="System">System</option>
<option style="font-family: Tahoma;" value="Tahoma">Tahoma</option>
<option style="font-family: Times New Roman;" value="Times New Roman">Times New Roman</option>
<option style="font-family: Trebuchet MS;" value="Trebuchet MS">Trebuchet MS</option>
<option style="font-family: Verdana;" value="Verdana">Verdana</option>
<option style="font-family: Wingdings;" value="Wingdings">Wingdings</option>
</select>