CSS question - select/option

Live forum: http://forum.freeipodguide.com/viewtopic.php?t=79215

JennyWren

02-10-2009 13:55:21

I want to apply a CSS style to only PART of the displayed text of select option.

Example

[code100e55ff6de]<select>
<option>fish apple</option>
</select>
[/code100e55ff6de]

Say I want the word fish to be bold, and the word apple to be italicised. Is this possible?

TFOAF

02-10-2009 16:59:14

I do not believe it's possible...it is only possible to change the style per option.

dmorris68

05-10-2009 10:13:56

AFAIK you can't style substrings within a single option. You can of course style each option individually, but only in its entirety.