kc0gcm
February 6, 2009, 8:56pm
1
ok I got the header and footer done but I have a few problems
I have watched all the tutorials and there is nothing that says were to put the part of code that is between the header and the footer..
also now the main info that goes between the header and footer has now lost all formatting..
i have included a pic to help u understand my problem..
Ok i can help with this one…
Now lets say your header.tpl looks like this
<div id=“maincontent”>
<div id=“Header”>
Header Here
</div>
<div id=“Navbar”>
Navbar here
</div>
also remember to make sure your footer.tpl finishes the main contents div off. For more information consult the docs
Now the problem is that you are centering the header and navbar but not the main content… No im sure you know this. Simply add…
margin-right: auto;
margin-left: auto;
to your contents div in your styelsheet to center it
nabeel
February 7, 2009, 4:03am
3
Basically you open a div tag or something at the end of the header.tpl, and then close it at the start of the footer.tpl. The system will automatically insert everything in between, but when you leave that div open, it’ll all go into that div