IIS and compatible mode meta issues
If you have issues with Chrome and IE breaking sites do to compatibility modes even though you have meta tags set in your html and you are serving your site off IIS then you need to set the meta values in the headers. Here is how:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="X-UA-Compatible" value="IE=Edge,chrome=1" />
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>
Written by Jeremy Bass
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#