Created
February 1, 2012 06:03
-
-
Save alirobe/1715402 to your computer and use it in GitHub Desktop.
On-demand IE9 rendering for SharePoint 2010 Master Pages.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<asp:Content runat="server" ContentPlaceHolderID="html5" ID="HTML5"> | |
<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
</asp:Content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
do understand right, that I can insert the first of the two codes to enable IE=9 on any page if needed?