How to disable Compatibility View in IE

前端 未结 8 2033
独厮守ぢ
独厮守ぢ 2020-12-04 07:24

I am wondering how do you stop people who are using IE 8 from going to Compatibility mode?



        
8条回答
  •  甜味超标
    2020-12-04 07:48

     
    

    should force your page to render in IE8 standards. The user may add the site to compatibility list but this tag will take precedence.

    A quick way to check would be to load the page and type the following the address bar :

    javascript:alert(navigator.userAgent) 
    

    If you see IE7 in the string, it is loading in compatibility mode, otherwise not.

提交回复
热议问题