why php ? why not just use a .css file like everyone else ? -----Original Message----- From: Brian V Bonini [mailto:[EMAIL PROTECTED] Sent: Saturday, June 28, 2003 11:02 AM To: Leif K-Brooks Cc: PHP Lists Subject: Re: [PHP] @import
On Fri, 2003-06-27 at 20:21, Leif K-Brooks wrote: > Brian V Bonini wrote: > > >Can anyone make this work with Mozilla? > > > ><style type="text/css" xml:lang="en" lang="en"> > >@import url("site.css.php"); > ></style> > > > >No matter what I try , header("Content-type: text/css") > >or ini_set to will not output anything other then text/html > > > > > > > > > This has nothing to do with PHP. Actually, it does. The only reason it does not work is that I can not get php to output anything other then text/html for .php files so it fails because of this.... Mozilla needs to see a text/css mimetype for this instance of site.css.php in order to render it correctly. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php