Good catch, Ian...

-----Original Message-----
From: Ian Skinner [mailto:[email protected]] 
Sent: Thursday, April 14, 2011 12:27 PM
To: cf-talk
Subject: Re: Parsing .css files with CF


On 4/14/2011 9:21 AM, Rick Faircloth wrote:
> So just use:
>
> style.cfm
> ---------
>
> <cfcontent type="text/css" charset=ISO-8859-1">
> <cfset variables.color = "##fff">
>
> <cfoutput>
>
>   body { color:#variables.color#; }
>
> </cfoutput>

Pretty Close.  You only need to double the ## symbols, if the content is 
INSIDE a <cfoutput> block.  As you start the <cfoutpout> block on the 
next line, you do not need to double ## where you have them.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343724
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to