I'm trying to make something 100% height and adding a doctype breaks that. That was explained on other questions. However, I found something weird -- if I close the doctype tag (which I know you're not supposed to do) then 100% height works again on both chrome and IE. What exactly is happening then? Does closing the doctype mean the doctype is being ignored?
<!doctype html/> <!--You're not supposed to close doctype but if you do, then
the 100% sizing works. Why?-->
<html>
<body>
<!--This 100% height won't work with a normal doctype but closing
the doctype makes it work?-->
<div style="border:5px solid black;height:100%">This should be 100%</div>
</body>
</html>