Jump to content

help


kc0gcm

Recommended Posts

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..

page.jpg

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Administrators

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...