Forum Moderators: not2easy
Everything works fine locally. However, when I copy the site to an Apache server and try to display it in Firefox, no CSS is loaded.
Interestingly, IE loads the CSS just fine. It doesn't look right, but at least it's trying!
Update: Finally had the insight to look at the Javascript console in Firefox and got a (partial) answer, in the form of the following:
Error: The stylesheet [example.com...] was not loaded because its MIME type, "application/x-pointplus", is not "text/css".
This requires a setting change on Apache, correct?
Thanks,
Rick
[edited by: rmcweb at 1:59 am (utc) on May 17, 2005]
[edited by: tedster at 2:32 am (utc) on May 17, 2005]
[edit reason] make url anonymous - example.com [/edit]
If you are using standards-compliance mode in Firefox, the stylesheet won't load if the MIME type is not
text/css. This is usually because of a server misconfiguration. If you load the CSS file directly in the browser then view page info, what MIME type is listed?
I think your post crossed with my update to the original post. I believe the new information supports your theory.
Unfortunately, I'm new enough to this whole thing that I don't know how to load CSS directly into the browser as you suggest. I'm willing to learn...
Rick
However, when I try the same maneuver against the remote copy, Firefox tries to open the file instead of merely displaying it. How come? Is that a function of the incorrect MIME type on the server?
Rick