How to avoid ie8 compatibility button?

后端 未结 6 1741
猫巷女王i
猫巷女王i 2020-12-02 09:44

In IE8, the Microsoft introduced a new mode called compatibility mode which would render the page like IE7.

You can see this button next to address bar in stackoverf

6条回答
  •  我在风中等你
    2020-12-02 10:22

    I was having an issue with compatibility view, and it turned out some of my PHP files were being saved in UTF-8 character encoding, which I guess was confusing IE. The majority of the site files were saved in Codepage 1252.

    Now, I set all the files to save as "Western European (Windows) - Codepage 1252" and my display issues went away.

    The lesson here is, don't mix your character encodings.

提交回复
热议问题