I have three web sites. Every time I set up a new one, I have to tell my web host to add a mime type of text/css on their apache server. Otherwise, Netscape, which is finicky, ignores my css files. IE, on the other hand, overlooks the transgression of text/plain, and renders my css files correctly. I would like to know from you experts why web hosts are still not up on css files. Is css that new? Or is my web host behind the times? (I use wyenet.com) Or perhaps netscape is the only unforgiving browser?
It's not that Netscape is finicky, Netscape is actually the smarter of the two. All browsers except for Internet Explorer pay close attention to the mime-type of a file. This is mainly to protect your computer from dangerous file types that could contain viruses sent with an incorrect mime-type. Internet Explorer, being a true blue Windows application, only cares about the file extension. It will load the file into memory, even if the file is actually an executable file with a .css extension. It might throw out an error if the file isn't what it expected, but often that's all it takes for a virus to gain a foothold in your machine.
So, browsers paying close attention to mime types is a security feature, not them being finicky.
Bookmarks