Re: php/css and .htaccess

From: Date: Thu, 21 Sep 2006 02:51:27 +0000
Subject: Re: php/css and .htaccess
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-242007@lists.php.net to get a copy of this message
On 20 Sep 2006, at 16:18 , tedd wrote:
However, FireFox / Mozillia won't accept a css file if a .htaccess file reads as indicated above. Any ideas as to how to get FireFox to play nice?
Yep, you need to specify header('Content-Type: text/css') This is because Mozilla/Firefox is, as far as I know, the only browser to insist on the content type for css files. Albeit it, mozilla.org is RIGHT on this one. -- How you have felt, o men of Athens, at hearing the speeches of my accusers, I cannot tell; but I know that their persuasive words almost made me forget who I was, such was the effect of the,; and yet they have hardly spoken a word of truth.

« previous php.general (#242007) next »