Menu

Missing style sheets?

We moved some of our CSS and image files to a different central server today which we can all reference for design and development versions of the site. I almost immediately noticed that Mozilla and Netscape browsers weren’t rendering our…

We moved some of our CSS and image files to a different central server today which we can all reference for design and development versions of the site. I almost immediately noticed that Mozilla and Netscape browsers weren’t rendering our pages using styles anymore. A search on Google turned up this article on Netscape’s DevEdge, which pointed out that some Apache and iPlanet web servers have an incorrect mime-type set for CSS files. An incorrect mime-type will cause Gecko-based browsers to ignore the entire CSS file when thrown into “strict mode” by the DTD. Changing the mime-type on our Apache server solved the problem.