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.
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).
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 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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With