Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I had a similar problem, but my issue had to do with IE conditional comment syntax.</p> <pre><code>&lt;!doctype html&gt; &lt;html lang="en"&gt; &lt;head&gt; &lt;meta charset="UTF-8"&gt; &lt;title&gt;HTML5 Shim Test&lt;/title&gt; &lt;style&gt; nav ul { font-weight: bold; } /* the links wont be bold in IE8 unless the shim is working */ &lt;/style&gt; &lt;!--[if lt IE 9] &gt; &lt;script src="html5shiv.js"&gt;&lt;/script&gt; &lt;![endif]--&gt; &lt;/head&gt; &lt;body&gt; &lt;nav&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="#"&gt;Link 1&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Link 2&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Link 3&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/nav&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Did you notice the space between <code>]</code> and <code>&gt;</code> in <code>&lt;!--[if lt IE 9] &gt;</code>? I didn't either...for a very long time. Remove the space and everything works great.</p> <p>Also, it's worth mentioning that the HTML5 Shim project page does say that the shim needs to be in the <code>&lt;head&gt;</code>, but it can come after your stylesheets:</p> <blockquote> <p>"It must be included before the <code>&lt;body&gt;</code> element (i.e. in the <code>&lt;head&gt;</code>) but doesn't matter if it appears before or after the CSS - but for the sake of performance, it would make better sense to include the CSS first then this script." via <a href="https://code.google.com/p/html5shim/" rel="nofollow">https://code.google.com/p/html5shim/</a></p> </blockquote>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload