I am trying to change the font style in a select-option box.
After testing in IE6, Chrome, and Safari, it is working fine!
However, I encountered an issue with IE8 where the font style was not changing.
The following code did not work:
<select name="myselect">
<option val="1" style="font-family: Nanum Gothic, sans-serif;">All</option>
<option val="2" style="font-family: Nanum Gothic, sans-serif;">Name</option>
<option val="3" style="font-family: Nanum Gothic, sans-serif;">Phone</option>
</select>
Another attempt that failed:
<select name="myselect" style="font-family: Nanum Gothic, sans-serif;">
<option val="1">All</option>
<option val="2">Name</option>
<option val="3">Phone</option>
</select>
Does IE8 have a bug related to the select-option tag?
Or is this behavior considered normal?
Thank you.