ASP.NET website looks different when deployed

后端 未结 5 1214
野性不改
野性不改 2021-02-19 18:10

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:21

    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.

提交回复
热议问题