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 22, 2009 at 4:30 AM
jQuery Live() Method And Event Bubbling
dasegtezr ... read »
Nov 22, 2009 at 4:03 AM
jQuery Live() Method And Event Bubbling
C_fieri ... read »
Nov 22, 2009 at 1:56 AM
Learning ColdFusion 9: Using CFQuery In CFScript Can Enable SQL Injection Attacks
Why adobe would give you script equivalent of cfquery is beyond me. I love cfquery tag because it helps me wriite clean sql, and get away from the horrible jdbc queries If I wanted to write javali ... read »
Nov 22, 2009 at 1:45 AM
Streaming Text Using ColdFusion's CFContent Tag And The Variable Attribute
The reason you would want to do this is to stream. Ack json/xml files to ria clients I used thus technique before because putting json in response stream causes debugging info to come thru As well a ... read »
Nov 21, 2009 at 6:47 PM
Hal Helms - Real World Object Oriented Development, Sarasota - Day Five
@charlie griefer, Thank you.. ... read »
Nov 21, 2009 at 5:15 PM
Using ColdFusion Structures To Remove Duplicate List Values
@Jose Galdamez, Oh heh yeah I didn't paste the whole code. I should have defined the vars -- my bad. It's fixed thou. Thanks. ... read »
Nov 21, 2009 at 4:49 PM
Styling The ColdFusion 8 WriteToBrowser CFImage Output
Great work yet again Ben! Whilst I didn't use this whole code, I copied some of your regex code for a similar problem with the lack of an alt attribute and unescaped ampersands in CFIMAGE for Railo 3 ... read »
Nov 21, 2009 at 1:13 PM
My First ColdFusion Builder Extension - Encrypting And Decrypting CFM / CFC Files
@Ben, Because I am pedantic, I just want to make sure that everyone knows there is absolutely no encryption going on. There is only encoding and obfuscation. The cfencode tool only obfuscates your C ... read »