Page 1 of 1

footer positioning

Posted: Thu Jul 27, 2006 3:10 pm
by jmcgin51
Can someone tell me what part of the template or stylesheet controls the footer positioning?  This sounds like a dumb question; I know where the footer is located in the template, and I can see where it is controlled in the stylesheet, but here's my dilemma:

I started a site with a blank stylesheet and a stripped-down template (essentially content and footer only) with only the one stylesheet associated with the template.  In other words, I'm not using any of the CMS menus, etc.  The site is all layed out and looks like I want, but I can't get the footer to show up at the bottom of the page where I want it.  If I try to position it absolutely, it looks OK on the homepage, but ends up in the middle of the text on some longer pages, and if I try to position it relatively (following the content div), it appears consistently at the top of the page.  I thought relative positioning should work, but it's not working.  How can I get my footer to appear consistently at the bottom of my pages???  Seems like there should be a simple fix, but obviously not simple enough for a simpleton like me!!

Thanks for your help...

Re: footer positioning

Posted: Thu Jul 27, 2006 3:17 pm
by tsw

Re: footer positioning

Posted: Thu Jul 27, 2006 4:52 pm
by jmcgin51
tsw -
thanks for your response.  This certainly looks like it would work, but I don't think CMSMS uses this method, so how does CMSMS accomplish an appropriately-placed footer?  I try to keep my pages as small and clean as possible, so if there's a way that's more natural to CMSMS, I'd rather use it.

Thanks again

Re: footer positioning

Posted: Thu Jul 27, 2006 5:03 pm
by tsw
default stylesheets use

div#footer {
clear:both;
}

which will force footer below every other item before it in source no matter how long they are.

Re: footer positioning

Posted: Thu Jul 27, 2006 6:04 pm
by jmcgin51
I think this may be what I've been looking for; I'll give it a try - thanks, tsw!!

Re: footer positioning

Posted: Thu Jul 27, 2006 6:07 pm
by jmcgin51
well, it didn't work...  maybe I'm stuck with the footerStickAlt fix...

Re: footer positioning

Posted: Wed Aug 02, 2006 7:16 am
by Dr.CSS
Do you have a link to the site so we could look at it?