Archive for tag: IIS

IE Document mode

Example in html:
<head>
<!-- Must be first in HEAD -->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- <meta http-equiv="X-UA-Compatible" content="IE=8" /> -->
</head

Example in web.config:
     <system.webServer>  
         <httpProtocol>
          <customHeaders>
              <add name="X-UA-Compatible" value="IE=7"/>
          </customHeaders>
      </httpProtocol>
  </system.webServer>