[thelist] Re: formatting text in a SELECT OPTION

kverens at contactjuggling.org kverens at contactjuggling.org
Mon Feb 24 13:30:01 CST 2003

Tom Dell'Aringa writes:

> Heyo,
> I thought I came across somewhere a technique where you could format
> *individual* text elements in an <option>sometext</option> tag.
> I know I can set a style on an option, but I actually want to have
> like one word bold and red or something - anyone know any tricks for
> this?

why not do something like this?

<option>Test <span style="color:#f00">One</span></option>

This works in Mozilla, I believe, but not IE (can't test atm - my X is


More information about the thelist mailing list