So I made a contact page and I want the footer div
to be sticking to the bottom of the page not right after the contact form.
But if I put everything to a container div
with height:100%;
and make footer bottom:0;
then the page will be "too long", you have to scroll, etc...
My css
so far:
#footer{
background-color:#fff;
font:bold 14px;
color:#1E88E5;
width:100%;
height:auto;
padding:1%;
border-top:1px solid #1E88E5;
}
Footer is just a normal full width div
with some centered text atm.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…