[thelist] Multi-Colored Drop-Down possible?

Erik Goodlad erik at stirlingbridge.com
Thu Mar 29 17:47:01 CST 2001

I've got a client asking if we can make the options in a drop-down select
box different colors based on some criteria.

Using Style Sheets you can give each item in a drop down list a back ground

<style type="text/css">

<form action="" method="post">
<select name="foo">
	<option class="bg1">red</option>
	<option class="bg2">green</option>
	<option class="bg3">blue</option>

Hope that's a good start for you.

Erik Goodlad
The Stirling Bridge Group, LLC
*We Engineer Internet Business Solutions*
TEL: (949) 707-1534   FAX: (949) 707-1535

More information about the thelist mailing list