24 ways to impress your friends

Jump to menu

Vote up?

Douglas Clifton

The comments about variables vs. constants are quite correct. Also, I wrote a little more detailed article on the technique of using PHP to generate CSS on Digital Web. Check it out if you’re interested:

http://www.digital-web.com/articles/generating_dynamic_css_with_php/