Rahul Shah
Rahul Shah

Reputation: 1407

CSS fails to load in IE10

The Error I get on my website in IE console is

SEC7113: CSS was ignored due to mime type mismatch 

Seems the CSS is not getting loaded at all.

I have researched a lot.There are quite a few questions on this around the web, but there is no conclusive fix.

Microsoft official site says to add type="text/css" attribute to the link tag, but in my case, I have already added it, in vain.

Is there any fix to this?

Upvotes: 0

Views: 101

Answers (1)

Mooseman
Mooseman

Reputation: 18891

You need to set the Content-Type http header to text/css. With :

AddType text/css css

Upvotes: 2

Related Questions