I\'m developing an application which creates a HTML report at the end, it outputs the js and css files separately then loads the files normally. But Internet Explorer 8-10+
Kyeemagh, 23 May -14
Hi to all of you who have the problem with Internet Explore that showing "CSS was ignored due to mime type mismatch" on local files (no server).
I have Win7 with IE11 and i found the solution by doing 2 days searching in the Internet... with many coffees.
Please click on the first link then scroll down to the "3 Answers" and read the instructions how to solve the problem! In my laptop works ok.
CSS not rendered in IE 10
and then for original information and ownership click on:
http://nirsoft.net/utils/file_types_manager.html
I hope it helps.
Eventually I can see correctly all my web pages that I'm making, from my C: driver - no server, on the IE11 browser.
Remember to have the correct coding in your html page at section, that link to an external css file.
with many thanks,
Dionysios
I'm on Windows 8.1 using IE11 with the same issue. This is how I fixed it:
I hope this helps other people out there.
In my case, the folder where CSS hosted had different permission than page where CSS needed to be applied. I changed to same permission and worked.
I was using Tomcat and JSP. I had to put : <%@page contentType="text/css" %> at the top of the CSS file and then tomcat serves it as a CSS mimetype.
Found out the issue by testing on a few different machines, it turns out if you have a CSS file set to open with a particular program, it will prevent IE from loading, and will give the above error message -_-
Also mitigating the potential problem by including a CDN version of the CSS at the end of the file (the report has to work with and without internet)