简体   繁体   English

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

[英]PHP website on Windows Azure not showing IE 11 mode

I am hosting a PHP Wordpress website on my Windows Azure account. 我在Windows Azure帐户上托管一个PHP Wordpress网站。 However when I run my website in IE11 it has a lot of flaws compared to chrome and firefox, which run perfectly. 但是,当我在IE11中运行我的网站时,与chrome和firefox相比,它们存在很多缺陷,它们完美运行。

However if I press f12 and set my document mode to edge it works fine, by default however it is set to 8 . 但是,如果按f12并将文档模式设置为edge它将正常工作,但是默认情况下将其设置为8 So I was wondering how I can set up my Azure hosting to make my website run in IE11 mode instead of 8. 所以我想知道如何设置Azure托管以使网站以IE11模式而不是8运行。

Any ideas? 有任何想法吗?

It's a bit tricky because of the windows azure hosting, so I can't just modify everything 由于Windows Azure托管,这有点棘手,所以我不能只修改所有内容

似乎没有人回答我的问题,几天后我发现这确实是一个非常简单的修复程序,我只是将以下行添加到标题中:

<meta http-equiv="X-UA-Compatible" content="IE=11">

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM