browser quirks mode - how to avoid triggering it

Most browser operate in different modes, in order to support websites that do not adher to the standards.

  • standards mode
  • quirks mode (to try to support non-standard web pages)


If a browser sees that a website is not adhering to standards, then the browser switches mode and will render the page differently.

To make sure your website is rendered correctly, it is good to avoid triggering the quirks mode.
browser quirks mode.

how to avoid triggering quirks mode:

  • use a valid DOCTYPE entry at top of page

ref: http://en.wikipedia.org/wiki/Quirks_mode

Comments