Page is a not externally linkable
ricfink - 5:49 pm on Feb 11, 2003 (gmt 0)
"however it does NOT render the same in IE6 with no dtd, basically the div is about 10px narrower than it should be!" I'm missing what the problem is. IE 5.5 does not recognize DTD's. Therefore, if you say that the code works with IE6 in "strict" mode with a doctype, then what are you losing by putting in the doctype? What am I missing here? (By the way, off the top of my head, the 10px discrepancy is probably due to the fact that in "strict" mode, the default offset between the body and the html element is as if the body element had properties margin-top: 15px and margin-left: 10px. (Actually it DOES have those properties by default in strict mode.)
Reply to theonliest:
IE 5.5 will ignore it and render as usual and IE6 will render it correctly as well, you say.
To get the canvas (html) and the body totally overlapped, set those properties to 0px for body.
Make a test page and give the html element and the body element different background colors and you'll see what I mean.)