
Converting Design Comps into Working HTML and CSS
❘
69
through the use of a meta tag named “X-UA-Compatible”, which is placed in the <head> section of
a web page:
<meta http-equiv=”X-UA-Compatible” content=”IE=8” />
There are several supported compatibility modes for Internet Explorer 8:
COMPATIBILITY MODE DESCRIPTION
IE=5 IE5.5/Quirks rendering mode
IE=7 IE7 Standards rendering mode
IE=EmulateIE7 IE7 Standards or Quirks rendering mode, depending on the DOCTYPE
IE=8 IE8 Standards rendering mode
IE=EmulateIE8 IE8 Standards or Quirks rendering mode, depending on the DOCTYPE
IE=edge Uses the latest rendering mode, which is currently IE8 Standards Mode
An interesting aspect of compatibility mode is that Microsoft maintains a list of sites that are known
to load poorly in IE8, and instead automatically loads them in the IE7 emulation mode. Also, by
default, any site that is local to the browser’s intranet zone is also loaded automatically
in IE7 Emulation mode.
Because SharePoint 2010 was created with IE8 in mind, all of the out-of-the-box master pages that
Microsoft provides with SharePoint 2010 have the compatibility mode set to IE=8, which locks IE8
and future versions of IE into rendering the page in IE8 Standards rendering mode regardless of
which DOCTYPE is applied. Keep in mind that other browsers such as Mozilla’s Firefox or Google’s
Chrome do not use this
meta tag to determine a r