1,在页面上加上下面的代码,意思是在读到IE8 的时候,让他转到ie7兼容视图下
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
2,找到config文件,在configuration 节点下添加下面代码即可
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="X-UA-Compatible" value="IE=EmulateIE7">
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>
3,使用IIS admin tool来定义
使用IIS admin tool来定义