Unstoppable Domains

Making a footer stick to the bottom

Spaceship Spaceship
Watch

bob_visualefx

Established Member
Impact
0
Hi All,
I'm trying to get CSS to make my footer stick to the bottom of the page. I've found some CSS help online and have been testing it, but it seems to be just sticking to the bottom of the browser window and not the page. At least in some browsers. Some it works fine, others it doesn't. Here is the page: LINK Any advice? Any help would be great. Thanks!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable DomainsUnstoppable Domains
Code:
#footer {
position:fixed;
}

That should do the trick.

-Steve
 
0
•••
Hmm, I tried that but it seems to just make it stick to the bottom of the window and not the content.
 
0
•••
My impression is that you wanted it to stick to the bottom of the window, much like that of Script.aculo.us. In this case you are going to want to make your footer div relative to where it is in the page. You would set your css up like this.
Code:
#footer {
position:relative;
//other characteristics from css can go here
}

Hope that helps.

-Steve
 
0
•••
I got it going with a clear:both attribute. Thanks for your advice. I appreciate it. :)
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back