Re: @import
| From: | Brian V Bonini | Date: | Sat, 28 Jun 2003 01:02:08 +0000 |
| Subject: | Re: @import | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153236@lists.php.net to get a copy of this message | ||
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.