Closed peterdesmet closed 8 years ago
According to the IE developer tools:
In other words, the browser is not in Quirks mode, but is rendering the page as IE7. This can be manually changed, but it would be better to have the website indicate how it should be rendered (i.e. in the latest version of IE).
The error is probably caused by <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
, but that seems to be the best setting. Not sure yet how to solve this.
This issue is discussed on HTML5boilerplate. Server side forcing seems to be the only valuable solution.
Actually, Disqus does show the comments in IE7, but without avatars, social buttons, and a very basic layout. It is also not possible to leave a comment, you can only read the current ones.
The browser mode IE9 Compat View
is forcing the IE7 standards
document mode, not the other way around. If the browser mode is manually set to IE9
(in dev tools), the document mode follows automatically to IE9 standards
.
In other words, we have a case of rule 4, and the Compatibility View
needs to be turned off...
Tested for https://github.com/inbo/lifewatch-blog/issues/2 and seems to work for IE 11. Closing.
In IE9, instead of the Disqus comments, the following error message is shown with a red border:
This page is forcing your browser to use legacy mode, which is not compatible with Disqus. Please see our troubleshooting guide to get more information about this error.