Variables in your CSS via PHP
Randomize CSS styles using PHP. A good one to look at if you want to want to automatically change your site’s look and feel on the fly.
| Variables in your CSS via PHP
There are a number of ways to use PHP with other web languages and technologies. I myself use PHP in some of my JS scripts and sometimes even in CSS files.
Here’s another PHP script to automatically adjust the contrast of foreground colors so they can viewed on top of your background colors:
CSS Colors: Take Control Using PHP


I noticed you have a post about my article “Building Modular XHTML Web Pages with PHP.” Thanks!
Regarding this thread, here is another article I wrote, published on Digital Web Magazine:
http://www.digital-web.com/articles/generating_dynamic_css_with_php/
Thanks for the update Douglas