compatMode

2009-09-05 09:04:20

To check if a current webpage is running in standards mode, or something else, paste this into the browser and press enter.

Code: (JS)

javascript:alert(document.compatMode)



In IE (even ie8..), CSS1Compat means standard, BackCompat means not.