devxlogo

Change the Colors of Various Options in a Select Control

Change the Colors of Various Options in a Select Control

Regular select controls are quite bland. Wouldn’t it be interesting to add some color? With IE (this tip, unfortunately, does not apply to Netscape), you could change the color of each option.

To change the color of the text, add style=”COLOR: red” to your

If you’re using IE, you’ll see a sample below:

 
 



devx-admin

Share the Post: