dpuwov1487 2013-12-30 07:52
浏览 67
已采纳

Windows Azure上的PHP网站未显示IE 11模式

I am hosting a PHP Wordpress website on my Windows Azure account. However when I run my website in IE11 it has a lot of flaws compared to chrome and firefox, which run perfectly.

However if I press f12 and set my document mode to edge it works fine, by default however it is set to 8. So I was wondering how I can set up my Azure hosting to make my website run in IE11 mode instead of 8.

Any ideas?

It's a bit tricky because of the windows azure hosting, so I can't just modify everything

  • 写回答

1条回答 默认 最新

  • dqcz57269 2014-01-07 09:53
    关注

    Seems nobody answered my question, after a few days I figured out it was a really really easy fix, I just added this line to the header:

    <meta http-equiv="X-UA-Compatible" content="IE=11">
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?