Force IE9 to emulate IE8. Possible?

后端 未结 4 641
北恋
北恋 2020-12-02 08:16

Is this possible at all? I tried adding this to the page but it didn\'t change a thing.


<         


        
4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 08:58

    Yes. Recent versions of IE (IE8 or above) let you adjust that. Here's how:

    • Fire up Internet Explorer.
    • Click the 'Tools' menu, then click 'Developer Tools'. Alternatively, just press F12.

    That should open the Developer Tools window. That window has two menu items that are of interest:

    • Browser Mode. This setting determines the value of the user-agent header sent for every request.
    • Document Mode. This setting determines how the rendering engine renders the page.

    More at http://blogs.msdn.com/b/ie/archive/2010/06/16/ie-s-compatibility-features-for-site-developers.aspx

提交回复
热议问题