可以在网页Head头中加入:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>

这会告诉IE8以IE7的方式显示网页。

或者在web.config中加入:

<?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>

相关文章:

  • 2022-12-23
  • 2021-08-01
  • 2022-02-01
  • 2021-08-20
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
猜你喜欢
  • 2022-12-23
  • 2022-02-06
  • 2022-12-23
  • 2021-05-18
  • 2022-12-23
  • 2022-01-31
  • 2022-12-23
相关资源
相似解决方案