IE9兼容问题

IE 9 is a new browser and there are a few display issues with the forum like wrong size when opening DHTML window as well as some WYSIWYG editor problems.
 
For now, we need a workaround to prevent the issues from happening for IE9 users by asking IE 9 to emulate IE 8's display engine:

If you are on IIS 7 (Windows 2008 Server):

Add the following section to your web.config file, between <system.webServer></system.webServer>
        <httpProtocol>      
             <customHeaders>      
                 <clear />      
                 <add name="X-UA-Compatible" value="IE=EmulateIE8" />      
             </customHeaders>      
         </httpProtocol>

If you are on IIS 6 (Windows 2003 Server):

You can add the following meta tag:

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


to the Head tag of the outermost master pages, and they are:
  • For the Classic Theme
    • ~/MasterPage.master
    • ~/App_Templates/Classic/popup.master
  • For the Original Theme
    • ~/App_Templates/Original/Regular.master
    • ~/App_Templates/Original/popup.master

Alternatively (actually easier), if you have access to the IIS Manager, you can add a custom HTTP header for the forum folder:

Custom header name: X-UA-Compatible
Custom header value: IE=EmulateIE8

See the screen shots on this thread.
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值