Re: php/css and .htaccess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux