Firefox Doesn't Show My Css
Solution 1:
I'll bet a beer that the CSS file is not sending the content-type: text/css
header. This causes style sheets to not work in Firefox. IE will ignore the content type.
If this is the reason, you should get a warning in the Firefox error console. You can use Firebug's net
tab to verify the content-type sent.
As to why the content type isn't sent, this would be a server issue I think. It usually happens when the CSS file is a .php
or .asp
file that doesn't get assigned the correct content type automatically by the server when delivering.
Solution 2:
Navigate to your css file directly in Firefox (http://www.yoursite.com/style.css) and look at your Page Info (Tools >> Page Info).
If the css file is being submitted as text/html, it's an incorrect MIME type (should be text/css) and you will need to contact your server/host administrator to fix this for you if you don't have access to that.
Post a Comment for "Firefox Doesn't Show My Css"