public
Last active

On-demand IE9 rendering for SharePoint 2010 Master Pages.

  • Download Gist
html5.master.part
1 2 3 4
<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:ContentPlaceHolder>
override
1 2 3
<asp:Content runat="server" ContentPlaceHolderID="html5" ID="HTML5">
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
</asp:Content>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.