Question
Why does CSS layout vanish when php include added?
I am developing a mid sized web site using CSS layout, which
has a persistant nav menu throughout. Seeing that theere is a
pretty good chance this will be amended, I have decided to treat
this element as a php include file.
When I add the php include into a main page, the CSS layout goes nuts. Within the design view of Dreamweaver, everything below the include point disappears, but works fine through a browser from the testing server.
I guess this is not a fault, but as a designer, it is difficult, and disconcerting to work with pages when half the page is missing.
Am I missing something.??
<div id="nav">
<?php include("menu.php"); ?>
</div>
When I add the php include into a main page, the CSS layout goes nuts. Within the design view of Dreamweaver, everything below the include point disappears, but works fine through a browser from the testing server.
I guess this is not a fault, but as a designer, it is difficult, and disconcerting to work with pages when half the page is missing.
Am I missing something.??
<div id="nav">
<?php include("menu.php"); ?>
</div>
