Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Internet Explorer 9 changes the document mode



11:01 am on Mar 19, 2011 (gmt 0)

5+ Year Member

When I click on a link, the document mode that is set to Internet Explorer 9 is set automatically to IE 7 as viewed with F12.

The original page has the <!DOCTYPE html> and the linked page too.

The effect is that Canvas does not work when the user click on a link in a page.

Someone experienced the problem?


4:13 pm on Mar 19, 2011 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

It does sound like a document mode compatibility problem. That's something I haven't run into yet for the sites I work with, but I have read about it. Maybe this reference from Microsoft will provide a clue.

Defining Document Compatibility [msdn.microsoft.com]

[edited by: tedster at 1:40 pm (utc) on Mar 21, 2011]


1:29 pm on Mar 21, 2011 (gmt 0)

5+ Year Member

Thanks. Lot of info about compatibility.

In some case, the content of a page may change the mode of rendering whatever the doctype.

Actually, the document mode switches from IE9 to IE7 automatically, when I follow a link with target="_blank".

Seems to be a bug.

But for my users, I changed the target and it is ok. This must be known however.

JAB Creations

12:11 pm on Mar 22, 2011 (gmt 0)

WebmasterWorld Senior Member jab_creations is a WebmasterWorld Top Contributor of All Time 10+ Year Member

You can force IE (regardless of which version) to always use it's best/latest version of the Trident rendering engine by using the following meta element...

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

It's a bit buried on that MSDN page. Also if your (X)HTML is not valid then it may be taken as an excuse to force the page to be rendered in quirks mode. I personally stick to XHTML served as application/xhtml+xml because if the page breaks I know it on the spot and fix it within seconds. ;)

- John

Featured Threads

Hot Threads This Week

Hot Threads This Month