0
I’m trying to make a footer that is always at the bottom of the page and that is responsive to the other items. But it only works on a page with a lot of content that takes up all the space, on pages with fewer items it stays in the middle of the screen. And if I put more items on the page, it doesn’t go down, it goes over the items.
What can I do to improve?
Footer on the right page Footer in the middle of the screen
footer {
margin-top: 50px;
height: 62px;
background: #eeeeee;
position:relative;
width: 100%;
}
footer p {
padding-top: 23px;
font-size: 14px;
color: #999999;
text-align: center;
line-height: 16px;
}
<footer>
<p>Todos direitos reservados, receitas Foodfy.</p>
</footer>