Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Closed Thread
How to anchor a website footer to the bottom of the browser
Old 08-26-2007, 09:11 AM How to anchor a website footer to the bottom of the browser
Junior Talker

Posts: 4
Name: Jericho T
Trades: 0
Hi there.

Just a quick question, I am designing a website for a school project, I want to get the footer of the site "anchored" to the bottom of the browser. Is is possible with CSS?

Currently the footer is "floating" in the center of the page...how do I get it to anchor to the bottom for good?

Here's the code:

HTML:
<div id="footer">
<p> Project name....blah blah blah </p>
</div>

CSS:
#footer {
clear: both;
margin: 0em 0em 0em 0em;
padding: 0.75em 0.75em;
background: #6757fC
}

Is there some other CSS attributes I am missing? Thanks a bunch!!!
infernojericho is offline
View Public Profile
 
 
Register now for full access!
Old 08-26-2007, 10:28 AM Re: How to anchor a website footer to the bottom of the browser
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Yes, it can be done with CSS:
http://www.themaninblue.com/writing/...ve/2005/08/29/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
View Public Profile
 
Old 10-14-2008, 07:51 PM Re: How to anchor a website footer to the bottom of the browser
NetKismet's Avatar
Junior Talker

Posts: 1
Name: Lou Anne
Trades: 0
Thank you for that. It was a surprisingly difficult thing to do when you're only using floating divs.

Thank you also for putting it simply in terms I understand

I had a gut feeling it was something to do with the 'clear' properties
~NetKismet
< link drop removed >

Last edited by chrishirst; 10-15-2008 at 04:52 PM..
NetKismet is offline
View Public Profile
 
Closed Thread     « Reply to How to anchor a website footer to the bottom of the browser
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30330 seconds with 12 queries