shane.carr
08-15-2008, 11:24 PM
I seem to be having problems with the layout of various divs when using XHTML Strict. The code works fine in XHTML Transitional.
Here are two demonstrations of the same code. The only difference is the doctype:
XHTML Transitional Demonstration (http://code.sffc1.com/xhtml_div_height_problem/transitional.html)
XHTML Strict Demonstration (http://code.sffc1.com/xhtml_div_height_problem/strict.html)
What in the XHTML Strict declaration is causing this problem? Thanks in advance.
P.S. I know this problem exists in Safari, Opera, and Firefox 2, but I haven't checked IE or Firefox 3.
.
Here are two demonstrations of the same code. The only difference is the doctype:
XHTML Transitional Demonstration (http://code.sffc1.com/xhtml_div_height_problem/transitional.html)
XHTML Strict Demonstration (http://code.sffc1.com/xhtml_div_height_problem/strict.html)
What in the XHTML Strict declaration is causing this problem? Thanks in advance.
P.S. I know this problem exists in Safari, Opera, and Firefox 2, but I haven't checked IE or Firefox 3.
.