CSSRule.cfc Added To Projects

Posted February 5, 2008 at 8:13 AM

Tags: ColdFusion

I have added my CSSRule.cfc CSS parsing ColdFusion component to the projects section of this site. Like I have said before, I love CSS - I think it's one of the best ways to model the visual formatting of rendered elements. As such, I really want to come up with a good, clean way to model and maintain CSS so that it can be leveraged in many different projects.

Post Comment  |  Ask Ben  |  Permalink  |  Print Page


You Might Also Be Interested In:



Learning ColdFusion 9 - ColdFusion 9 tutorials, samples, examples, demos

Reader Comments

Feb 5, 2008 at 11:26 AM // reply »
10 Comments

Thanks for the blog, I found plenty of useful info here.

Just a note: CSS is not "one of the best ways to...", it is the only way!


Feb 5, 2008 at 11:27 AM // reply »
6,516 Comments

@Jean,

Glad you enjoy. I think of CSS like the XML of display (as some universal data format).


Feb 5, 2008 at 12:10 PM // reply »
10 Comments

CSS helps separating content from its presentation. Mix it with semantic markup and you have the perfect combination for the design of your website AND to make your content available to agents that do not care about the presentation layer: search engines and screen readers.

Avoid inline CSS as much as possible though.


Post Comment  |  Ask Ben

Recent Blog Comments
Nov 20, 2009 at 11:32 PM
Five Months Without Hungarian Notation And I'm Loving It
I've used headless camel case for years for not only ColdFusion variables, but also SQL tables and fields... pretty much everything involving code. I also subscribe to the "don't abbreviate and clea ... read »
Nov 20, 2009 at 11:00 PM
Five Months Without Hungarian Notation And I'm Loving It
@Marcel, Yeah, I always err on the side of longer but more readable variable names. As for the camel casing of CF methods and the headless camel casing of custom items, I get around this by always ... read »
Nov 20, 2009 at 10:56 PM
Five Months Without Hungarian Notation And I'm Loving It
I use the following and love it: my.namespace.MyComponents.functionMethodsOrUDF() CONSTANT_VALUES_OR_PROPERTIES One thing I always try is to CamelCaseBuiltInColdFusionFunctions() so others can tell ... read »
Nov 20, 2009 at 5:38 PM
Learning ColdFusion 8: CFImage Part I - Reading And Writing Images
Hi Ben, Great article. I've been looking around to see if ColdFusion image engine can programatically create the following "wrap around" effect: http://www.creativepro.com/article/photoshop-s-she ... read »
Nov 20, 2009 at 5:35 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
@Dave: I talked to Gert he suggested: <cfhttp method="get" url="http://{some cf website}" result="stuff" addtoken="yes" /> Note the addition of cfhttp attribute addtoken. That should persist y ... read »
Nov 20, 2009 at 5:23 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
@Todd, Ahh, gotcha, yeah that makes sense. ... read »
Nov 20, 2009 at 5:17 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
Ben, sorry if I didn't make this clear. You can make it work like that if you want, just put <cfset session.foo = 1> (and <cfset application.foo = 1>) in your OnRequestStart() and it reve ... read »