Tuesday, December 15, 2015

IE 9 Compatibility

While searching for ways to ensure IE 9 compatibility in HTML pages, some articles suggest that

Just having <!DOCTYPE html> at the very top of the page with nothing preceding it should be enough to make IE9 use standards mode.

While this is true, I found out that even after having the document type declared as above, few pages in my MVC application were not being rendered properly. While searching more I came across this post

http://stackoverflow.com/questions/27571231/x-ua-compatible-not-working-in-ie-9-for-intranet-sites

Which says that console.log puts IE in quirks mode inspite of doctype and meta tags referring to IE 9. And commenting out all console.log statements really has fixed this issue for me.


No comments:

c# httpclient The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch

 If we get this error while trying to get http reponse using HttpClient object, it could mean that certificate validation fails for the remo...