Note that there are some explanatory texts on larger screens.

plurals
  1. POIE 8 rendering quirks mode
    primarykey
    data
    text
    <p>I know this is a old problem, and there are alot of fixes for this. I have applied the following, but still some of my users get the quirks mode. And its only users that run IE 8. </p> <pre><code>&lt;!doctype html&gt; </code></pre> <p>and</p> <pre><code>&lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"&gt; </code></pre> <p>It seems like this is not enough, the page is still rendering in quirksmode in IE 8.</p> <p>Since this is an umbraco/c# site, the first row in the source is empty. This is because of the Master directive in the top. You cannot move above it. See picture.</p> <p><img src="https://i.stack.imgur.com/YDMwN.png" alt="enter image description here"></p> <p>This is some code from the site.</p> <pre><code>&lt;!doctype html&gt; &lt;!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --&gt; &lt;!--[if lt IE 7]&gt; &lt;html class="no-js ie6 oldie" lang="en"&gt; &lt;![endif]--&gt; &lt;!--[if IE 7]&gt; &lt;html class="no-js ie7 oldie" lang="en"&gt; &lt;![endif]--&gt; &lt;!--[if IE 8]&gt; &lt;html class="no-js ie8 oldie" lang="en"&gt; &lt;![endif]--&gt; &lt;!-- Consider adding an manifest.appcache: h5bp.com/d/Offline --&gt; &lt;!--[if gt IE 8]&gt;&lt;!--&gt; &lt;html class="no-js" lang="sv"&gt; &lt;!--&lt;![endif]--&gt; &lt;head&gt; &lt;meta charset="utf-8"&gt; &lt;!-- Use the .htaccess and remove these lines to avoid edge case issues. More info: h5bp.com/b/378 --&gt; &lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"&gt; </code></pre> <p>The source is like this.</p> <pre><code>&lt;%@ Master Language="C#" AutoEventWireup="true" %&gt; &lt;!doctype html&gt; &lt;%@ Import Namespace="System.Web.Configuration" %&gt; &lt;!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --&gt; &lt;!--[if lt IE 7]&gt; &lt;html class="no-js ie6 oldie" lang="en"&gt; &lt;![endif]--&gt; &lt;!--[if IE 7]&gt; &lt;html class="no-js ie7 oldie" lang="en"&gt; &lt;![endif]--&gt; &lt;!--[if IE 8]&gt; &lt;html class="no-js ie8 oldie" lang="en"&gt; &lt;![endif]--&gt; &lt;!-- Consider adding an manifest.appcache: h5bp.com/d/Offline --&gt; &lt;!--[if gt IE 8]&gt;&lt;!--&gt; &lt;html class="no-js" lang="sv"&gt; </code></pre> <p>The "Master" creates the empty line in the top.</p> <p>Installing Google Chrome Frame fixes the problem, but due to citrix environments some of our users don't have the full control to install plugins.</p>
    singulars
    1. This table or related slice is empty.
    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