Hi,
I'm experimenting with creating a dynamic CSS-file. What I have done is to
send CSS-files trough a PHP-parser, to enable the use of variables
(Apache2, PHP5). This is done by adding "AddType application/x-httpd-php
.css" to a .htaccess-file in the same directory as the CSS-file. The
problem is that this at the same time sets the mimetype to text/html,
which results in Firefox (winXP) refusing to load the CSS.
What I basically want to do is to allow parsing of the file through PHP,
but still send the file as text/css to the client.
I realize that part of this is a bit server-technical, but the since the
end result would make my CSS much more powerful, I hope some of you can
help me.
Regards,
Gunnar Lium
______________________________________________________________________
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/