RE: [PHP] @import
| From: | electroteque | Date: | Sat, 28 Jun 2003 04:59:13 +0000 |
| Subject: | RE: [PHP] @import | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153243@lists.php.net to get a copy of this message | ||
why php ? why not just use a .css file like everyone else ?
-----Original Message-----
From: Brian V Bonini [mailto:b-bonini@cox.net]
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