Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Doctypes -- Need 'em? 1

Status
Not open for further replies.

pindky

Programmer
Apr 26, 2002
101
US
After solving the problem in the previous thread, I have a question.

IF the doctype declaration was the problem -- what's the point of including the doctype at all. Don't most browsers display okay w/out the declaration?

-c
 
Thanks for those links. I too struggled with the doctypes, because the book I learnt html from sort of glossed over them. I have made a couple of web sites valid by w3c standards and that was an adventure.
 
Hello,

A quick follow up to all the above responses. I have been experimenting with different doctypes to make some 'sliced and diced' tables render correctly in MAC's and PC NN 6.2. The only doctype and URL that is working in all browsers and versions is the following:

<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;
&quot;
You can read more about this problem at:

an article titled &quot;Does Netscape 6 Break Your Table Layouts?&quot;

Thanks for all your help,

CB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top