Msg#: 10835 posted 3:51 pm on Aug 16, 2005 (gmt 0)
In most cases, a doctype is not required, but it is highly recommended. If you want your pages to adhere to a particular standard, like XHTML 1.0, then it is required. Adding a doctype is helpful for browsers and robots to know what to expect.
There is a list of valid DocTypes, or DTDs, on the W3's website: [w3.org ] You can also find tools to validate your HTML on their website.
Msg#: 10835 posted 11:15 am on Aug 18, 2005 (gmt 0)
Sounds like a Quirks Mode vs. Standards Mode [webmasterworld.com] problem - pages with a full doctype switch the browser into what is called "standards-compliant mode" which alters the way pages are handled.
Whilst you get your basic validation sorted out, try using this "half" doctype:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Once you're validated, then you can switch to a "full" doctype and sort out the display problems.