In our application we are using <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
as the first line of code inside <head>
tag. In Local and QA it is working fine, but when we try to open PROD in IE we are facing some problem - it is opening in document mode 7. In IE EDGE it is working fine, we are facing this issue in IE 11.
What might be the problem?
If:
<!DOCTYPE>
directive, and ( Other factors may also be involved.)
Then, the page is likely loading in IE7 Compatibility mode by design .
If you cannot change the page to include the HTML5 doctype directive ( <!DOCTYPE html>
), then you might see if the web server can serve the x-ua-compatible
header with the page.
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.