Forum Moderators: open
<? require("top.php")?>
<p>Main content<br />area here</p>
<? require("bottom.php")?>
The dtd is set in top.php. I can't change the dtd for all of my pages currently because it effects the layout of old pages. If I make future pages in XHTML I would eventually be able to replace old pages with XHTML and change the doctype. But I would first like to know if any browsers will not display xhtml correctly with an html doctype. Thanks.
Personally, though, I'd concentrate on switching the whole site to valid HTML 4.01 Transitional first, then HTML 4.01 Strict, and then handle a transition to XHTML later on if you feel it is necessary.