x-ua-compatible is God horse?
X-ua-compatible is a proprietary <meta> attribute of IE8, which tells IE8 which version of IE to use to render Web pages in the HTML
Why do you use x-ua-compatible?
When IE8 just launched, many web pages due to the problem of refactoring, unable to adapt to the higher level of the browser, so use the x-ua-compatible tag force IE8 to be rendered in a low-version manner.
Using this code, developers do not have to consider whether the Web page is compatible with IE8 browser, as long as the Web page in IE6, IE7 performance.
<meta http-equiv= "x-ua-compatible" content= "Ie=emulateie7"/>
Use this code to use the edge. Mode edge mode tells IE to render documents in top-level mode, which means that any version of IE is rendered in the most advanced standard mode supported by the current version, avoiding the effects of version upgrades. Simply put, what version of IE is used in the version of the standard mode rendering.
<meta http-equiv= "x-ua-compatible" content= "Ie=edge" >
Use the following code to force IE to use Chrome Frame rendering
<meta http-equiv= "x-ua-compatible" content= "chrome=1" >
The best compatibility Mode scenario:
<meta http-equiv= "x-ua-compatible" content= "ie=edge,chrome=1" >
Ps:
To prevent failure, the x-ua-compatible is best followed by the head, without any nonstandard labels.
More detailed, more basic introduction can refer to the URL:
Http://www.cnblogs.com/nidilzhang/archive/2010/01/09/1642887.html
reprinted:< meta http-equiv = "x-ua-compatible" content = Meaning of "ie=edge,chrome=1"/>
< meta HTTP-EQUIV = "x-ua-compatible" content = Meaning of "ie=edge,chrome=1"/>