NameSilo

Making a footer stick to the bottom

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
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.
GoDaddyGoDaddy
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
•••
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover

NamePros updates

New in Parking: updated way to act on many domains or inquiries at once
Your domain list and inquiry list now have a bar above and below the list. Check the items you want, then choose an action in the bar...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back