margin-top vs padding-top #72
Unanswered
esseifforte
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm completing a site and I realized that for some pages the height of the footer is not the same, in some that have the margin-top inside a container div, 'eat' that piece of footer. In practice, that part at the top goes down, as in the screenshot. If I change to padding-top it works great. I set everything as indicated.
at this moment I add to 'site-container {display: flow-root;}' and it works..
thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions