Quote:
Originally Posted by potter
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.