Previous Message
Next Message

Re: [css-d] Doctype question

Sent by Joel Goldstick (Software Consulting) on 19 May 2003 02:02


> Hello,
>
> I am working on a streamlining/reworking of a project. Currently the
> site has no doctype. Adding the basic HTML 4 one has no effect:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>
> Except when validated to show all the horrible errors :)
>
> If I throw in the full doctype:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>         "http://www.w3.org/TR/html4/loose.dtd">
>

Here are two good sources for doctype info:

http://www.alistapart.com/issues/142/index.html

is a good article.  Eric Meyer wrote a bonus chapter here:
http://www.ericmeyeroncss.com/bonus/render-mode.html from his latest book.

transitional allows depricated attributes.  Strict does not.  If you don't
include the url for the dtd I believe that quirks mode is used.  If you
include it, strict mode is used.

Though % and em are similar in some ways, I think they inherit differently.
That could be the reason fonts keep shrinking.  However, better to read the
spec.  I'm more a student than a teacher about font sizing

Joel Goldstick
Columbuswebmakers.com


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message