Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- Do I REALLY need a DOCTYPES, on my websites?


perryc20 - 5:47 pm on Mar 14, 2005 (gmt 0)


I did what everyone said, and I added a Doctype to one of my pages to see what happens,

Doctype:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">

However when I upload the new page and looked at it on different browsers, the layout was distorted, (Margins, table etc.)

What happened? If I use a doctype it messes up the websites, If I don't use a doctype it looks great on all browsers.

Also how do I know what doctype to use, I create websites in Front Page and it handles all of the HTML coding.

Thanks
Chad


Thread source:: http://www.webmasterworld.com/html/9844.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com