Sat 10 Dec 2005
Defining CSS Constants Using PHP
Posted by dugger under Web Development • Recommendations • Dugged1 Comment
Tyler Hall has come up with a clever way to streamline edits for CSS constants (same styles repeated in different ids and classes) using PHP.
What’s more interesting though is the activity in the comments. It turned out that suggested technique has a security hole at the time the story made it to the front page of digg.com, in which the author has arrived at a pretty good tip. I’ll make it point to remember that too. ;)
Another interesting technique pointed out in the discussion is the CSS-SSC work by Shaun Inman. Thoughts by Eric Meyer.