Quote:
Originally Posted by StuartD
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.
|
Go reread those articles yourself. The ONLY differences it mentions is font styling. Like I said, the actual design of a website will not be changed at all even if the doctype is changed.
Seriously, I could go through my portfolio and make a copy of every single design and change the doctype on the copies. They'll all look exactly the same.
Example;
Code:
<table>
<tr>
<td> </td>
</tr>
</table>
&
Code:
<div style="position: relative; top: 0px; left: 0px; height: 100px; width: 100px;"></div>
No matter what doctype is applied to either of those, the end result will look EXACTLY the same. I'm willing to put money on it.