(记录)IE8 ..样式错乱解决

1.页面中声明解析引擎为ie7
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="X-UA-Compatible" content="IE=8;FF=3;OtherUA=4" />
2. 配置webconfig文件
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<clear />
<add name="X-UA-Compatible" value="IE=EmulateIE7" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>

 

来源:网上收集

posted @ 2009-03-30 19:26  原虫.july  阅读(705)  评论(0编辑  收藏  举报