"Jean Pierre Daviau" <once@isEnough.okwrites:
Quote:
|
Why do gurus here and else where suggest html 4.01 doctype Strict?
|
HTML because IE doesn't correctly support XHTML. Since it parses it as
HTML anyway, you're better off giving it the real thing.
Strict because that's what is appropriate for new pages. Transitional
is appropriate for updating old pages that contain presentational
markup such as <font>, <center>, and the like.
Quote:
|
What is the relation between doctype and css?
|
There is no direct, formal relationship between them.
But, most browsers have a "quirks mode" that's triggered when certain
DTDs, or no DTD at all, are used. Quirks mode will change, among other
things, how IE interprets the CSS box model.
<http://en.wikipedia.org/wiki/Quirks_mode>
sherm--
--
My blog:
http://shermspace.blogspot.com
Cocoa programming in Perl:
http://camelbones.sourceforge.net