PDA

View Full Version : What is the correct doc type?



zeroed
23 Feb 2009, 11:24 AM
So,

What is the correct doc type for extjs template html?

I'm asking because I can see different answers in different tutorials.

Right now I'm using strict, because it used in examples, downloading alongside with the code.

jsakalos
23 Feb 2009, 11:34 AM
Best is NONE.

mikecx
23 Feb 2009, 1:03 PM
Are you saying it's best to use Quirks Mode? If so, wouldn't the best option then be to use a malformed DTD?

jsakalos
23 Feb 2009, 1:07 PM
For Firefox it doesn't matter in fact if it runs in Quirks or Compliance mode but in IEs any doctype usually triggers various bugs resulting in intermittent rendering errors.