How to configure the FOOTER
How to configure the FOOTER
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
Hiya, have you got a link so someone can take a look please?


Re: How to configure the FOOTER
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!
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
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.
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
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Re: How to configure the FOOTER
I posted a link in another topic some days ago.
http://forum.cmsmadesimple.org/index.ph ... l#msg57888
Ronny
http://forum.cmsmadesimple.org/index.ph ... l#msg57888
Ronny