Sandy, could you apply a style through Javascript to each specific letter?

I know it wouldn't be practical but I'm just asking out of personal
interest.

Now I have to try it.

> -----Original Message-----
> From: Sandra Clark [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, January 25, 2006 1:02 PM
> To: CF-Community
> Subject: RE: Select Box (text color)?
> 
> Nope,
> 
> THe option tag does not allow other tags to be nested within 
> it.  Therefore, you can't selectively color some words and 
> not others within it.
> 
> Sandy Clark 
> 
> -----Original Message-----
> From: Adkins, Randy [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 25, 2006 12:52 PM
> To: CF-Community
> Subject: Select Box (text color)?
> 
> In a Select box I am displaying 2 elements:
> JOBCODE - JOBNAME
>  
> I want to be able to set the color for the JOBCODE to say 
> #0066CC and the JOBNAME to #000000
>  
> I tried the following but does not work:
> <OPTION VALUE="#ID#"><SPAN 
> STYLE="color:##000000">#JOBCODE#</SPAN> - #JOBNAME#</OPTION> 
>  
> If I set it on the OPTION tag as a STYLE, it will color the 
> enter contents of the Display value. 
>  
> Is this even possible?
>  
> 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:194318
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to