Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
Sure it will, all you need to do is create a .php file with a header in it like this:
PHP Code:
<?php header("Content-type: text/css"); ?>
then link to it as if it were a regular CSS file(as far as the browser is concerned it is). Now, you can have dynamic content in the CSS doc, as well as access to a database. I don't recommend you do this with all of your CSS documents, however, because of caching issues.
__________________
I build web things. I work for the startup Please login or register to view this content. Registration is FREE
.
|