[thelist] Re: formatting text in a SELECT OPTION

Tom Dell'Aringa pixelmech at yahoo.com
Mon Feb 24 13:37:01 CST 2003

> Tom Dell'Aringa writes:
> > Heyo,
> > I thought I came across somewhere a technique where you could
> > format *single* 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?

--- kverens at contactjuggling.org wrote:

> 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 broken).

I need this to work in IE as well.


var me = tom.pixelmech.webDeveloper();

[Making A Commercial Case for Adopting Web Standards]

Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more

More information about the thelist mailing list