Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old August 14th, 2008, 04:35 PM
Jean Pierre Daviau
Guest
 
Posts: n/a
Default doctype

Hi,

Why do gurus here and else where suggest html 4.01 doctype Strict?
What is the relation between doctype and css?




--
Jean Pierre Daviau

--
windows XP professionnel 2002 SP2
asus p4 s533/333/133

http://jeanpierredaviau.com

Aimons les étrangers; l'on vit avec eux les trois quart de notre vie.


  #2  
Old August 14th, 2008, 04:55 PM
Sherm Pendley
Guest
 
Posts: n/a
Default Re: doctype

"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
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles