简体   繁体   中英

Would rendering problems occur on Microsoft edge browser if I use '<meta http-equiv=“X-UA-Compatible” content=“IE=7” />'?

I am working on maintenance of an existing website which works well on IE11 and below, Google Chrome and Mozilla Firefox. But when I try to run the website on Microsoft edge browser, it has some issues regarding the rendering of JSPs and HTML pages.

In my exisitng code, the following meta tag is present:

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

which is clearly pointing information regarding being designed for IE7.

So my question now is, with the above line in the code, would it cause rendering issues on MS Edge browser?

I would be also extra grateful of somebody tells me the browser compatibility in regards to the meta content.

Microsoft Edge will ignore the X-UA-Compatible header. For most people, this is good news, but if your site was designed to work with legacy versions of IE, chances are it won't work well on Microsoft Edge (though it seems odd that it'd work well on Chrome and Firefox if that's the case).

You'll need to ask your users to use IE, though Microsoft Edge also provides an option within the app to open a page in IE.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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