ASP.NET website looks different when deployed

后端 未结 5 1695
礼貌的吻别
礼貌的吻别 2021-02-19 17:51

I have googled around for the answer to this question, but haven\'t come up with anything. Maybe the search terms I used were too generic... Anyway, here goes:

I am disc

5条回答
  •  被撕碎了的回忆
    2021-02-19 18:34

    I find it better to override compatibility in the HTTP Reponse Headers in IIS, adding header:

    X-UA-Compatible: IE=Edge
    

    The IE=Edge part will set compatibility to use the highest mode available, will apply to all users, and also apply to all pages in the site whilst only having to put the header in one place.

提交回复
热议问题