Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
On-demand IE9 rendering for SharePoint 2010 Master Pages.
<asp:ContentPlaceHolder runat="server" id="html5">
<-- In your .aspx page, use a override this ContentPlaceHolder using "IE=9" to enable HTML5 features - on pages where it's required... -->
<meta http-equiv="X-UA-Compatible" content="IE=8"/>
<asp:Content runat="server" ContentPlaceHolderID="html5" ID="HTML5">
<meta http-equiv="X-UA-Compatible" content="IE=9"/>

AhHa45 commented Oct 8, 2014

do understand right, that I can insert the first of the two codes to enable IE=9 on any page if needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment