Note that there are some explanatory texts on larger screens.

plurals
  1. POIE Compatibility Mode Bug
    primarykey
    data
    text
    <p>Here is the code at the top of my page:</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;!--[if lt IE 7 ]&gt; &lt;html lang="en" class="no-js ie6"&gt; &lt;![endif]--&gt; &lt;!--[if IE 7 ]&gt; &lt;html lang="en" class="no-js ie7"&gt; &lt;![endif]--&gt; &lt;!--[if IE 8 ]&gt; &lt;html lang="en" class="no-js ie8"&gt; &lt;![endif]--&gt; &lt;!--[if IE 9 ]&gt; &lt;html lang="en" class="no-js ie9"&gt; &lt;![endif]--&gt; &lt;!--[if (gt IE 9)|!(IE)]&gt;&lt;!--&gt; &lt;html lang="en" class="no-js"&gt; &lt;!--&lt;![endif]--&gt; &lt;head&gt; &lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"&gt; &lt;meta charset="utf-8"&gt; &lt;title&gt;&lt;/title&gt; ... </code></pre> <p>I am using the conditional comment code from <a href="http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/" rel="noreferrer">Paul Irish</a> to make it easier to detect and address IE issues, however this code seems to be causing an issue in and of itself. The problem is, using the conditional comment code forces my page into IE8 compatibility mode, despite the fact that I explicitly declare <code>ie=edge</code> according to the <a href="http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx#SetMode" rel="noreferrer">MSDN guidelines</a>.</p> <p>Removing the conditional comment code around the <code>html</code> tag fixes the glitch and lets IE8 render in standards mode; however I would much rather find a solution that lets me keep the conditional code and still force IE to render in standards compliance mode. Keep in mind I don't have a .htaccess file to use as this site is using a windows/asp setup.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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