Question : CSS problem in Firefox

I am accessing my site (deployed on Weblogic) through Apache Web Server.
It is working absolutely fine when accessed from IE.

But when I access my site though Firefox, the CSS is not at all applied to the site. In the Javascript console I get the message

Error: The stylesheet http://site.com was not loaded because its MIME type, "text/html", is not "text/css".

Are there any changes I need to make in the web server configuration so that files ending with .css are rendered with MIME type "text/css" and not "text/html"

Answer : CSS problem in Firefox

Try doing

================

AddType text/css .css

================

In your Apache Config and restarting the webserver. Its curious as to why its providing it as HTML as the default in Apache is to provde plain text unless told otherwise somewhere in the config.
Random Solutions  
 
programming4us programming4us