Tuesday, July 25th 2006


Strict XHTML won’t load CSS file
posted @ 11:35 in [ Programming ]

Why was my strict XHTML page on a webserver not loading a external CSS file. The reason found was that the content type returned by the server on my CSS was text/html. in strict mode, just declaring the type in the LINK tag is not enough. Even the server has to return a happy content type as text/css. Once it did, all worked out. I know this info was a waste for those with IE.


Leave a Reply

You must be logged in to post a comment.