Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does X-UA-Compatible "IE=EmulateIE7" work in IE10 and IE11?

i am currently working with this header:

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
 <head>
 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

1) so...is the following assumption correct?

the metatag attribute content="IE=EmulateIE7" ensures that no matter with what IE-version you look at the page the page will be rendered as if you look at it in IE7. E.g. you won't see rounded corners defined with border-radius when you look at the page in IE10 or IE9.

2) is this following assumption also correct?

however, as of IE11 the http-equiv="X-UA-Compatible" metatag will be obsolete so the same page will be rendered with the IE11 rendering engine and there will be rounded corners.

like image 539
nerdess Avatar asked Sep 20 '13 12:09

nerdess


People also ask

What is meta X-UA-compatible?

X-UA-Compatible is a document mode meta tag that allows web authors to choose what version of Internet Explorer the page should be rendered as. It is used by Internet Explorer 8 to specify whether a page should be rendered as IE 7 (compatibility view) or IE 8 (standards view).

What is IE in meta tag?

This article will tell you how to set IE(Internet Explorer) using HTML meta tags. X-UA-Compatible is a document mode meta tag that allows us to choose which version of Internet Explorer the page should be rendered.

What does IE edge mean?

What is IE mode? IE mode on Microsoft Edge makes it easy to use all of the sites your organization needs in a single browser. It uses the integrated Chromium engine for modern sites, and it uses the Trident MSHTML engine from Internet Explorer 11 (IE11) for legacy sites.


1 Answers

Just adding this here to that the question can be marked as answered...

It's being deprecated, it will however still work. So if you have http-equiv="X-UA-Compatible" content="IE=EmulateIE7" in your page IE11 will still render it as IE 7. Have a look at this link.

like image 151
Jerryf Avatar answered Sep 25 '22 09:09

Jerryf