Home › Forums › Back End › PHP for Navigation?… › Re: PHP for Navigation?…
December 21, 2009 at 5:49 pm
#68489
Member
WOW that sounds more simple! That would make my life easier too!!
One more question: If using CSS to style my nav. how does that get worked in?
Going off the code below could I add a div with ID of nav around the php and that would add apply my styles?
<div id="header">
<h1>Sample</h1>
</div><!–close header–>
<div id="nav">
<?php include(‘includes/navigation.html’); ?>
</div>
OR does my CSS need to use the ID of "mainnav"?
I hope this is making sense!
Thanks,
Lyle