Search code examples
jqueryhtmlinternet-explorermodernizrhtml5shiv

Website partly loads CSS in IE8-IE9


I can't seem to fix the following website for IE9:

http://www.allyum.com

I've implemented Modernizr and Html5Shiv but nothing seems to work. If you test it in other browsers everything works perfectly fine. Does anyone have an idea what the issue can be here?


Solution

  • Your site enters Quirks mode in IE9. Add this to LINE 1

    <!DOCTYPE html>
    

    You have this line but it is in comments and on line 2. IE wants it on line 1.