That's not *quite* what I was looking for.  I want to have 2 different colors in the 
same <option> tag.

Example:

<option value="">SomeText: <font color="Blue">7</font>, SomeMoreText: <font 
color="Blue">24</font></option>

So I would get this in the list box:

SomeText: 7, SomeMoreText: 24

Is this possible?

Todd Ashworth

----- Original Message ----- 
From: "Gavin Myers" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, December 04, 2000 9:51 AM
Subject: RE: Changing colors in a list box.


| 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