
October 10th, 2012, 04:52 PM
|
|
Registered User
|
|
Join Date: Sep 2012
Posts: 26
Time spent in forums: 5 h 11 m 52 sec
Reputation Power: 0
|
|
|
New Member - Can't get footer to stay at bottom of page
I am just about finishing up this site...but have been having trouble with getting the footer to stay at the bottom of the page when the browser is resized vertically.
Here's the relevant code for the container, content, and footer. The site is at www.debbierking.com/ks.
Code:
#container {
margin: 0 auto;
width: 980px;
}
#content {
clear: both;
margin-bottom: 60px;
overflow: hidden;
position: relative;
top: 10px;
}
footer {
background: url(../img/footer.jpg) repeat-x;
bottom: 0;
clear: both;
height: 40px;
margin:0;
overflow: hidden;
padding:0;
position: relative;
width: 100%;
}
Thanks!
|