<option style="color: red;">#GetStuff.Name#</option>


-----Original Message-----
From: Thomas Soraoka [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 06, 2000 6:22 PM
To: CF-Talk (E-mail)
Subject: Highlighting single item in SELECT


Anyone know how to change the color of a single
item in a SELECT tag?  For example,

<SELECT NAME="XXX">
        <CFOUTPUT QUERY="GetStuff">
                <cfif GetStuff.highlight IS "Y">
                        <OPTION VALUE="#GetStuff.name#">
                                <font color="Red">#GetStuff.name#</font>
                <cfelse>
                        <OPTION VALUE="#GetStuff.name#">
                                #GetStuff.name#
                </cfif>
        </CFOUTPUT>
</SELECT>

Tom
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to