Hi,
I have tried to use the following code but the footer will not stay at the end of the screen no matter what I try.
ie. the footer scrolls up and does not stay at the end
Can anyone see why.
I hope the code isn't too confusing.
I am using a three column layout with a header at the top.
Would really like to get this to work.
/************************ Start of CSS file ********************************/
html, body, #contents {
min-height:100%;
width:100%;
height:100%;
}
html>body, html>body #contents{
height:auto;
}
#contents{
position:absolute;
top:0;
left:0;
}
#footer{
position:absolute;
bottom:0;
width:100%;
border-top:1px solid #333333;
background-color: #000033;
color: #ffffff;
font-size:70%;
}
#footer p{
margin: 0.5em 0 1em 2em;
padding: 0;
}
/****************************** End of CSS file *******************************/
I have tried to use the following code but the footer will not stay at the end of the screen no matter what I try.
ie. the footer scrolls up and does not stay at the end
Can anyone see why.
I hope the code isn't too confusing.
I am using a three column layout with a header at the top.
Would really like to get this to work.
/************************ Start of CSS file ********************************/
html, body, #contents {
min-height:100%;
width:100%;
height:100%;
}
html>body, html>body #contents{
height:auto;
}
#contents{
position:absolute;
top:0;
left:0;
}
#footer{
position:absolute;
bottom:0;
width:100%;
border-top:1px solid #333333;
background-color: #000033;
color: #ffffff;
font-size:70%;
}
#footer p{
margin: 0.5em 0 1em 2em;
padding: 0;
}
/****************************** End of CSS file *******************************/