Quoting [EMAIL PROTECTED]:
Sarah Atkinson wrote on 05/13/2005 10:25:55 AM:
Out of curiosity can you use PHP with in a CSS. Like maybe have a list of background images located in a DB and PHP select and insert on into the CSS. and possibly even have the user define things like font size, font color, background color, and typeface. Sarah
It's my understanding that this is not possible, unless the PHP is in your .php document, as well as the CSS that is going to be altered. Placing PHP code in a .css file does no good unless your server knows the parse .css files as PHP. If that's the case, then I don't see why it couldn't work in an external file, though I don't have the resources to test it right now.
Actually, if you can set up your webserver to process you CSS files by PHP, it is possible. You just have to output the correct header first.
See <http://codewalkers.com/tutorials/75/1.html> for a good write-up about this.
Ken
______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/