Jump to content

How to position the footer


Recommended Posts

I have tried that and none of the margin settings will remove that gap , i tried these

body { margin: 0px 0px 0px 0px; }

body { margin: auto auto auto auto; }

body { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; }

Link to comment
Share on other sites

  • 1 month later...

I had the same problem, the only solution I found that works properly is to add the start of the

<div class="footer">
to the bottom of each .tpl file and then remove the corresponding text from footer.tpl

 

For example:

 

header.tpl

<div class="header">

bla bla bla

</div>

 

homepage.tpl

<div class="main">

Main content here

</div>

<div class="footer>

 

footer.tpl

Copyright Joe Bloggs

</div>

 

This way, you'll have "powered by WHMCS" in the footer of each page and you don't get formatting errors like using your current method.

 

 

P.S. You can write a quick batch script to make the modifications to the .tpl files.

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated