|
SharePoint MindsharpBlogs > Christina Wheeler > Posts
|
|
Dec
23
Published: December 23, 2009 12:12 PM by
Christina Wheeler
Powered by: Mindsharp and Summit 7
Since the official release of Internet Explorer 8 many people are having problems with their custom branding for their SharePoint sites. The way IE8 decides its rendering engine is based on certain criteria in your code or Master Page. IE8 will attempt to render a site as follows: If it sees a valid DocType declared it will attempt to render the site in IE8 Standards Mode If it doesn’t see a DocType it will attempt to render the site in quirks mode (otherwise known as pre IE7 rendering mode) To correct this problem there are two different meta tag options: <meta http-equiv="X-UA-Compatible" content="IE=7" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> The first meta tag (IE=7) will force a page to render in IE7 mode no matter what. The second meta tag (IE=EmulateIE7) will force the page to render as IE7 would have rendered it historically. The difference between the two is that the EmulateIE7 meta tag will force the browser to look for a DocType before rendering in IE7 mode and if it doesn’t find one it will render in Quirks Mode. If adding the meta tag to your Master Page make sure it is added first in the <head> before the CSS. META Tags and Locking in Future Compatibility http://msdn.microsoft.com/en-us/library/cc817574.aspx
|
|
|
|
|
|
|