IE - differences in behaviour between system deployed locally and remotely

后端 未结 2 500
一整个雨季
一整个雨季 2021-01-21 06:49

I have wired issues in IE. While I\'m browsing my asp.net mvc application which is deployed locally, everything is working as expected. Some annoying differences appears, while

2条回答
  •  心在旅途
    2021-01-21 07:20

    The content property works in IE8, but does not work in IE7.

    Therefore, I'm sure that your page is being rendered in IE8 mode locally, but on your other server it is being rendered in IE7 Compatability Mode.

    You can open the page from both locations, press F12, and look at the "Document Mode" setting to verify this.

    There are various reasons this could be happening.

    See: http://hsivonen.iki.fi/doctype/#ie8modes

    The most likely cause is that you pressed the "IE7 compatibility mode" button in IE.

    You can possibly "quick fix" the issue by adding this meta tag:

    
    

    If not, look down that list in the link and see which reason is the cause.

提交回复
热议问题