Linked by Thom Holwerda on Wed 19th Dec 2007 21:48 UTC, submitted by RJop
Permalink for comment 292268
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.




Member since:
2005-07-06
Ever since version 6, IE has had a "standards-compliant" mode and a "compatibiltiy" mode equivalent to Firefox quirks mode. The quirks mode is basically laid out like IE4, and the standards-compliant mode is supposedly laid out according to web standards, though the actual compliance with those standards has been improving gradually. IE7's standards-compliant mode is actually pretty good - though not all the way there yet, IE7 can render most pages pretty close to the way they would render in Firefox and such.
You have to trigger standards compliant mode by including a proper doctype declaration. There are pages on MSDN that list the doctypes that will trigger it, a pretty long list that includes all modern HTML 4 or XHTML 1 standards.
MSDN changes their linking structure pretty often, but this page seems to work right now: http://msdn2.microsoft.com/en-us/library/ms535242(VS.85).aspx
Edit: Got the initial version wrong (is IE6, not 5).
Edited 2007-12-19 22:57