Help - my footer is attached to the #center!
Does anyone know the trick for using CSS to get the footer to always sit at the bottom of the page rather than floating up and under any absolutely position elements? It somehow seems attached to the block div "center" even though all <div> are closed and clear: both; appears in the footer script.
I have tried everything mentioned in the other wise very helpful "HTML Utopia: Designing without Tables Using CSS" book put out by Site Point, but without success.
Thanks.
Susan
Here is the pertinent piece of CSS:
#left {position: absolute;
width: 100px;
top: 100px;
margin-left:10px;
background: white;
border: none;
padding: 5px;
float: left;
}
#center { width: 80%;
background: #fff;
padding: 15px;
margin-left: 100px;
}
#right {position: absolute;
background: white;
padding: 5px;
right: 0px;
top: 35px;
width: 140px;
margin-left: 0px;
margin-right: 0px;
border: none;
float: right; }
#footer {
clear: both;
height: 15px;
background-color: #006600;
color: white;
padding-right: 4px;
border-top: 1px solid;
padding-left: 4px;
font-size: 9px;
font-color: white;
padding-bottom: 1px;
padding-top: 1px;
border-bottom: 1px solid;
}








Bookmarks