Answer the question
In order to leave comments, you need to log in
Why doesn't body stretch 100% vertically?
tyts
as you can see the body and html on the floor of the screen, I tried all the ways with the min-height and so on
, the template was originally built incorrectly, now it’s a little streamlined, but the body is still on the half of the screen
Answer the question
In order to leave comments, you need to log in
Why do you need margin-top:120% for the footer? Do not press it down to the bottom.
I prefer this way myself.
body
{
display: table;
}
body > div
{
display: table-row;
height:0;
}
body > .content{
height:100%;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question