Read this:
http://www.hut.fi/~hsivonen/doctype.html
Basically it is so that modern browsers work in two modes "Quirks" and
"Standard" where the first works mostly as older browsers did while the
latter conforms more to the W3C recommendations. So when you insert a
valid doctype you need to start using valid code.
Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
> -----Original Message-----
> From: Charley Kyd [mailto:kyd at incsight dot com]
> Posted At: 21. januar 2005 05:26
> Posted To: microsoft.public.frontpage.client
> Conversation: DOCTYPE quandry
> Subject: DOCTYPE quandry
>
>
> I've just discovered that the DOCTYPE needs to start every
> page of html. I searched Google Groups and found links to
> several places that listed various doctypes. But that doesn't
> help much.
>
> When I copied possible versions into my home page, all but
> one of them caused the size of my fonts to increase by about
> 20%. (I use CSS
> throughout.) The one exception was this doctype:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>
> However, the following doctype, which is very similar, also
> increased the size of my html by 20% or so:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
>
> Questions:
> 1. Why does the doctype specification change the size of my fonts?
>
> 2. Can anyone explain a practical way to figure out which
> doctype specification is necessary?
>
> 3. Because all doctypes but one increase the size of my
> fonts, does that mean that I will eventualy need to choose
> one of those doctypes and then scale down my fonts?
>
> I'm using tables, CSS, and no FrontPage-specific tools, like
> shared borders or themes.
>
> Thanks.
>
> Charley
>
>
>