View Single Post
Old 09-03-2007, 05:17 AM  
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
Quote:
Originally Posted by potter View Post
I'm sorry, but your number one tip??? What does css designing have to do with doctype? If you design a website, in tables or css the doctype has nothing to do with how it's displayed in a browser. I've been doing pure css design for a long time now, and can write my code in either doctype properly with no errors or warnings off hand. However, even if you say wrote xhtml strict code, with a html 4.0 doctype. It would still end up rendering the same in a browser.
CSS designing has everything to do with DOCTYPE.

The official differences are found here: http://www.w3schools.com/tags/tag_doctype.asp

You can read more about how they function differently here:
http://www.oreillynet.com/pub/a/java...8/doctype.html

Personally, I have found that I can really struggle getting my CSS layouts to look exactly the same in all browsers until I make the doctype strict.

Certain things like top 0 and left 0 can be very different in FF and in IE... until you set things to strict.
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote