[wp-hackers] OT: CSS in Firefox & NS

Bob Johannessen bob at db.org
Wed Feb 23 16:22:13 GMT 2005


Brian Groce wrote:
> Mike Little wrote:
>> What mime type is being sent for the css on the domains which don't work?
>> Firefox and Mozilla will (correctly) ignore a css file it retrieves if
>> it is sent as text/plain.
>>
> It's text/css.

Are you talking about www.briangroce.com? If so, you are wrong:

[bob at idefix ~]$ telnet www.briangroce.com 80
Trying 69.93.59.34...
Connected to www.briangroce.com (69.93.59.34).
Escape character is '^]'.
GET /wp/wp-content/themes/brian_2005_winter/style.css HTTP/1.1
Host: www.briangroce.com

HTTP/1.1 200 OK
Date: Wed, 23 Feb 2005 16:16:09 GMT
Server: Apache
X-Powered-By: PHP/4.3.10
Transfer-Encoding: chunked
Content-Type: text/html
              ^^^^^^^^^

Seems your web server is returning your stylesheet with a content
type of text/html. Try placing the following somewhere relevant in
your config:

AddType text/css .css

(And please stop top-posting)


	Bob


More information about the hackers mailing list