I know this is an old problem, and there are many fixes for this. I applied the following, but still some of my users get quirks mode. And its only users who run IE 8.
<!doctype html>
and
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
This doesn't seem to be enough, the page is still running in quirksmode in IE 8.
Since this is the umbraco / C # site, the first line in the source is empty. This is due to the Master directive at the top. You cannot move over it. See Figure.

This is the code from the site.
<!doctype html> <html class="no-js" lang="sv"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
The source is as follows.
<%@ Master Language="C#" AutoEventWireup="true" %> <!doctype html> <%@ Import Namespace="System.Web.Configuration" %> <html class="no-js" lang="sv">
The wizard creates an empty line at the top.
Installing Google Chrome Frame fixes the problem, but due to the citrix environment, some of our users do not have full control over installing plugins.
source share