Force IE8 Into IE7 Compatiblity Mode

后端 未结 9 1951
深忆病人
深忆病人 2020-11-27 02:35

Is there a way to force IE8 into IE7 compatibility mode using .NET or Javascript?

相关标签:
9条回答
  • 2020-11-27 03:31

    I might have found it now. http://blog.lroot.com/articles/the-ie7-compatibility-tag-force-ie8-to-use-the-ie7-rendering-mode/

    The site says adding this meta tag:

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

    or adding this to .htaccess

    Header set X-UA-Compatible: IE=EmulateIE7 
    
    0 讨论(0)
  • 2020-11-27 03:33

    If you add this to your meta tags:

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

    IE8 will render the page like IE7.

    0 讨论(0)
  • 2020-11-27 03:39

    There is an HTTP header you can set that will force IE8 to use IE7-compatibility mode.

    0 讨论(0)
提交回复
热议问题