I've been investigating a problem and am struggling for new ideas, so I thought I'd see if anyone can help.
I have a page that displays fine in Chrome and Firefox. It also displays fine in IE9, but some of our customers HAVE to use compatibility mode... and when the page is viewed in compatibility mode it forces, for some reason, it to display in IE7 Document Mode.
The page has !DOCTYPE HTML as the first line, and also :
meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1
Which, I believe should force the page to be displayed in the most recent document mode.
When I browse the HTML within F12 Developer Tools, the first line of the html has been commented out:
!-- DOCTYPE HTML --
Can anyone suggest anything I can try to resolve this issue, ie force the page to display in IE9 Document Mode? When I manually alter the Document Mode to IE9 within Developer Tools the page displays fine - so I just need to find out why IE is forcing IE7 Document Mode and not using the default.
Any help very much appreciated.