I am researching a problem and fighting for new ideas, so I thought I'd see if anyone could help.
I have a page that displays fine in Chrome and Firefox. It also displays IE9 perfectly, but some of our clients use compatibility mode ... and when a page is viewed in compatibility mode, it forces it to display in IE7 document mode for some reason.
The page has DOCTYPE HTML as the first line, as well as:
meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1
Which, I believe, should make the page appear in the most recent document mode.
When I look at the HTML in the F12 developer tools, the first line of the html was commented out:
!-- DOCTYPE HTML --
Can anyone suggest something that I can try to solve this problem, i.e. make the page display in IE9 document mode? When I manually change Document Mode to IE9 in Developer Tools, the page displays normally - so I just need to find out why IE forces IE7 document mode and does not use the default value.
Any help is greatly appreciated.
source
share