Mega Code Archive

 
Categories / JavaScript Reference / Javascript Properties
 

CompatMode Syntax and Note

Note: Read-only property.  Indicates whether or not standards-compliant mode is included in <!DOCTYPE>. document.compatMode CSS1Compat                  Standards-compliant mode is included.                              IE renders the document in compliance with the CSS1 language                              standards. back-compat                 Standards-compliant mode is not included. Document is rendered                              in consistent with previous versions of IE.      Syntax: