javascriptjquerywordpressinternet-explorer-11cufon

Cufon Wont Load in IE11


I can't seem to figure out the reason that Cufon won't load on IE11 using Edge mode (Developer Tools). If I switch over to IE10 mode the site loads perfectly fine - however with Edge mode on IE11 Cufon refuses to load up.

Any ideas with this?

http://rapidpurple.com


Solution

  • I had this issue myself, and also had trouble finding an answer online, so I thought this must be a really specific issue. I've opened the IE dev tools, checked the console, and there was this curious error:

    SEC7113: CSS was ignored due to mime type mismatch

    File: ligthbox.css

    The error is not correctly reported, as the css file is served with correct mime type, but the thing was actually that it failed to get the file due to the page being rewritten with htaccess into /some-directory/ and the lightbox.css file was included without the leading slash, like this:

    <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
    

    After I added the leading slash, the error was gone from the console, and the Cufon loaded correctly.