Re: Escaping #'s in outputting a CSS

2006-04-19 Thread Rob Wilkerson
Are you trying to replace # with ##?  If so, you might need to
replace ## with .  Maybe a code sample of what you're
attempting will help.

Is the CSS embedded or inline?  If it's linked, then of course there's
no need to escape the #'s

On 4/19/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Stupid beginner question I know but it's been a long time since I've done any
 REAL CF coding.

 I am trying to create an HTML code generator for a client and am having
 problems escaping the #'s in the CSS.  I tried the good ole ## but that's not
 working.  It throws an error.  If I just remove the #'s then the colors don't
 get set the way they're supposed to.

 I can provide code samples if needed.

 TIA,
 Katrina Chapman



 

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


RE: Escaping #'s in outputting a CSS

2006-04-19 Thread Ben Nadel
What is the error being thrown?? 

...
Ben Nadel 
www.bennadel.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 19, 2006 12:52 PM
To: CF-Talk
Subject: Escaping #'s in outputting a CSS

Stupid beginner question I know but it's been a long time since I've done
any REAL CF coding.

I am trying to create an HTML code generator for a client and am having
problems escaping the #'s in the CSS.  I tried the good ole ## but that's
not working.  It throws an error.  If I just remove the #'s then the colors
don't get set the way they're supposed to.  

I can provide code samples if needed.

TIA,
Katrina Chapman





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


RE: Escaping #'s in outputting a CSS

2006-04-19 Thread Sandra Clark
You can use rgb(rr,gg,bb) instead of Hex numbers in CSS. 


Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 19, 2006 12:52 PM
To: CF-Talk
Subject: Escaping #'s in outputting a CSS

Stupid beginner question I know but it's been a long time since I've done
any REAL CF coding.

I am trying to create an HTML code generator for a client and am having
problems escaping the #'s in the CSS.  I tried the good ole ## but that's
not working.  It throws an error.  If I just remove the #'s then the colors
don't get set the way they're supposed to.  

I can provide code samples if needed.

TIA,
Katrina Chapman





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