With CSS I can set font and background colours for the individual options of a dropdown "select" list; however, these colours only show up in the actual dropdown. The colours shown in the box on the page when the list is not open are still the defaults.
Currently I have a list with many dropdown boxes having a few options, and it would be useful to be able to colour each option so that the selection is immediately obvious. Converting to radio buttons or other input is not really feasible. (My clients are rather picky. :-p)
I did it in jQuery:
IE gets it right if that's any consolation ;)
You'll need some JavaScript for it to work in other browsers:
Even nicer with css class names:
And your css:
That way you keep your presentation details separate and your class names meaningful.