Last active
December 15, 2015 15:39
-
-
Save johnnyreilly/5283462 to your computer and use it in GitHub Desktop.
Death to compatibility mode
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <!-- See how the meta tag is the first inside the head? That's *important* --> | |
| </head> | |
| <body> | |
| </body> | |
| </html> |
This file contains hidden or 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
| Response.AppendHeader("X-UA-Compatible", "IE=edge"); |
This file contains hidden or 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
| <?xml version="1.0"?> | |
| <configuration> | |
| <!-- ... --> | |
| <system.webServer> | |
| <httpProtocol> | |
| <customHeaders> | |
| <add name="X-UA-Compatible" value="IE=edge" /> | |
| </customHeaders> | |
| </httpProtocol> | |
| </system.webServer> | |
| <!-- ... --> | |
| <configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment