RE: Re[2]: [PHP] Re: PHP & CSS

From: Date: Thu, 09 Oct 2003 11:55:24 +0000
Subject: RE: Re[2]: [PHP] Re: PHP & CSS
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-165598@lists.php.net to get a copy of this message
For compatibility among browsers, you might want to call a header('Content-type: text/css'); On top of the css-file-to-be. Wouter -----Original Message----- From: Curt Zirzow [mailto:php-general@zirzow.dyndns.org] Sent: Thursday, October 09, 2003 2:03 AM To: php-general@lists.php.net Subject: Re: Re[2]: [PHP] Re: PHP & CSS On Wed, 8 Oct 2003 09:44:53 -0700, Raquel Rice <raquel- php@thericehouse.net> wrote: > On Thu, 9 Oct 2003 02:00:20 +1000 > Tom Rogers <trogers@kwikin.com> wrote: > >> >> You don't need to call your style sheets .css they can be just as >> easily called.php and even have a querystring attached like >> subsite.php?user=fred >> >> That way just use php as normal and return a style sheet just as >> you would a html page. > > Thank you! I think that is exactly what I needed! Hello Raquel.. Browse your site with the included php file that generates the css, and watch your web logs. If the browser is requesting that file with a response status of 200 everytime, I would strongly suggest you fix that. Curt. -- "sig-less" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#165598) next »