Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP for Navigation?… Re: PHP for Navigation?…

#68489
WildSpirit
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