Page 1 of 1

How to configure the FOOTER

Posted: Wed Jan 03, 2007 12:04 pm
by aivanovas
Hi everyone, My footer is always staying in one line. For the main page it looks ok, but for the rest it is not. I want to make footer always be at the bottom of the page but it's staying in one possition. How I can chenge setting of it, because i found only ht to change the style and footers content. Thank you

Re: How to configure the FOOTER

Posted: Wed Jan 03, 2007 5:23 pm
by 3dcandy
Hiya, have you got a link so someone can take a look please?

:)

Re: How to configure the FOOTER

Posted: Thu Apr 12, 2007 11:38 am
by r00ki3
Hi there,

Are you still having this problem?
If you do so...
Here's the answer:

Your footer is a DIV and it's not possible to place DIV's always @ the bottom of a site (i dont know why this is impossible in css...stupid thing).
It is possible to place the DIV in an absolute way...but if your pages are getting longer and the people need to scroll, your footer will stick to that position :S

How did i solve this problem?:
I used the following script


window.onload = function() {
  dh = document.documentElement.clientHeight;
  wh = document.documentElement.scrollHeight;
  if (dh >= wh) {
    f = document.getElementById('footer').style;
    f.position = 'absolute';
    f.left = '50%';
    f.width = '752px';
    f.marginLeft = '-377px';
    f.top = dh - 32 + 'px';
  }
}


The element ID must be the same as you use.
You can play around with the values to get the footer on the right place ;)

Good luck with it!

Re: How to configure the FOOTER

Posted: Mon Apr 23, 2007 4:18 pm
by WuddyT
This could be of some help.
http://alistapart.com/articles/footers
I use this script in a project (not with CMSMS) and it works (see http://www.wuditi.it/zanettin/template.html)
Hope it helps.

Re: How to configure the FOOTER

Posted: Sat Apr 28, 2007 4:12 am
by JohnnyB
Here's another to look at:
A sticky Footer solution:
http://ryanfait.com/sticky-footer/

Re: How to configure the FOOTER

Posted: Sat Apr 28, 2007 5:13 am
by RonnyK
I posted a link in another topic some days ago.

http://forum.cmsmadesimple.org/index.ph ... l#msg57888

Ronny