I don't see any problems with this, except that like you said, CSS
editors probably won't parse the CSS.  What's the benefit you're trying
to attain here?  A CMS type system?

> -----Original Message-----
> From: Ian Skinner [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, December 05, 2006 2:30 PM
> 
> An Interesting Experiment:
> 
> A_CSS_File.cfm
> --------------
> <cfset aColor="00FF00">
> 
> <cfoutput>
> <cfcontent type="text/css" reset="yes">
>  /* CSS Content that will be processed through ColdFusion first. */
> 
> h1 {
>   color: ###aColor#;
> }
> 
> </cfoutput>
> 
> A_CFML_FILE.cfm
> ---------------
> <html>
> <head>
>   <title>Fun with CSS & CF</title>
>   <link rel="stylesheet" href="A_Css_File.cfm" media="all" />
> </head>
> 
> <body>
>   <h1>Fun with CSS & CF<h1>
> </body>
> </html>
> 
> Has anybody every tried this?  I was just playing and gave it 
> a try.  It was surprisingly straight forward and I think I 
> see some real potential.  The only real issue I've 
> experienced is that Dreamweaver has NO idea how to color code 
> or popup help a css file with a cfm extension.

"EMF <idahopower.com>" made the following annotations.
------------------------------------------------------------------------------
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. 

==============================================================================


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262959
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to