CSS not displaying in Firefox


#1

Hello,

I am developping a social networking site in rails, it can be found at
the url www[dot]string[dot]be

My problem is that firefox doesn’t seems to find/interpret the css
linked to it. Everything works fine in other browsers (IE, safari,
Opera) but not in firefox.

Does anybody have a clue ?

Geoff


#2

Hello,

I am developping a social networking site in rails, it can be found at
the url www[dot]string[dot]be

My problem is that firefox doesn’t seems to find/interpret the css
linked to it. Everything works fine in other browsers (IE, safari,
Opera) but not in firefox.

Does anybody have a clue ?

Your server sends CSS files with the wrong MIME type. From headers:

Request:

GET /stylesheets/scaffold.css?1163928878 HTTP/1.1
Host: www.string.be
<…>
Accept: text/css,/;q=0.1

Response:

HTTP/1.x 200 OK
Date: Thu, 21 Dec 2006 10:59:11 GMT
Server: Apache/2.0.54 (Debian GNU/Linux) PHP/4.4.4-0.dotdeb.3 with
Suhosin-Patch mod_ssl/2.0.54 OpenSSL/0.9.7e
<…>
Content-Type: text/plain

So, instead of text/css server uses text/plain for CSS files. Check
your configuration.

Regards,
Rimantas

http://rimantas.com/


#3

Thx a lot for the answer.


#4

Geoff,

Did you ever resolve this? I’m having a similar problem with my host
serving up one page as text/plain.

Zeff

On Dec 21 2006, 5:57 am, Geoff removed_email_address@domain.invalid