How to prevent IE9 from rendering intranet sites in compatibility mode

后端 未结 4 940
刺人心
刺人心 2020-12-08 19:49

IE9 has a weird problem where it renders intranet sites in compatibility mode.

Does anyone know a way how to prevent this from happening?

Note: I am not loo

4条回答
  •  不思量自难忘°
    2020-12-08 20:19

    If you can add code to the homepage, you can simply add this:

    
    

    to your website's header.

    (You can also use to force IE9-Renderer) This will force IE9 to render in standard mode.

    Another way is to use another doctype: Put this to the top of your code:

    
    

提交回复
热议问题