Override intranet compatibility mode IE8

后端 未结 19 2057
执念已碎
执念已碎 2020-11-22 10:04

By default IE8 forces intranet websites into compatibility mode. I tried changing the meta header to IE8, but it doesn\'t acknowledge the meta header and just uses the brows

19条回答
  •  抹茶落季
    2020-11-22 10:17

    I was able to override compatibility mode by specifying the meta tag as THE FIRST TAG in the head section, not just the first meta tag but as and only as the VERY FIRST TAG.

    Thanks to @stefan.s for putting me on to it in your excellent answer. Prior to reading that I had:

    THIS DID NOT WORK

     
    
    
    

    moved the link tag out of the way and it worked

    THIS WORKS:

    
    

    So an IE8 client set to use compatibility renders the page as IE8 Standard mode - the content='IE=9' means use the highest standard available up to and including IE9.

提交回复
热议问题