This has worked for me in a web template i made:
<SELECT name="state" required="Yes">
<option value="" style="background-color: White;">Select a Color</option>
<option value= "" style="background-color: Red;">Red</option>
<OPTION value="" style="background-color: Green;">Green</OPTION>
<OPTION value="" style="background-color: Blue;">Blue</OPTION>
<OPTION value="" style="background-color: Orange;">Orange</OPTION>
<OPTION value="" style="background-color: Yellow;">Yellow</OPTION>
</select>

-----Original Message-----
From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 01, 2000 3:50 PM
To: CF-Talk
Subject: Changing colors in a list box.


I have something like this in a list box:

LabelA: 1, LabelB: 10, LabelC: 7

That entire string is in the list box.  I want to change the numbers to a
different color.  Is there a way to do that?  I've tried using <span> and
<font> along with style sheets attributes, but it didn't work.

Thanks,

Todd Ashworth
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to