Randy Slemko wrote: > > I've read that Doctypes determine whether or not Mozilla goes into > quirks mode. I went to this site that explains it: > > http://www.hut.fi/u/hsivonen/doctype > > I've found that this web page: > http://www.askmen.com/jokes/index.html > > uses: > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN"> > > The page is displaying poorly but it appears to be fixed by changing to: > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > > I just saved to my hard drive and replaced the doctype. To me this > implies that the second way is going into quirks mode and the first > isn't. It would seem to me that wouldn't be the desired or expected > behaviour. I would expect they should both go into quirks mode.
Unrecognized doctypes default to Standard mode layout, and I suspect "-//W3C//DTD HTML 4.0 Draft//EN" is not specifically listed as "quirky".
