3
I am trying to leave the footer at the end of the document, but it is at the end of the page I am viewing, thus hindering the usability of the system...
Follow the footer:
<div class="container body-content">
@RenderBody()
<footer class="fixarRodape">
<hr />
<p>© @DateTime.Now.Year</p>
</footer>
</div>
the class I’m using to fix...
style>
.fixarRodape {
bottom: 0;
position: fixed;
width: 90%;
text-align: center;
}
</style>
and the example of my problem where the footer appears on other components of the screen. My intention is to leave it at the bottom of the page when scrolling the scroll bar to the end, then it appears at the end.
Puts a
left: 0;
... see if it works– StillBuggin
It did not solve, but if I change from Fixed to relative it goes to the end, but if it is a page with smaller content, it goes up to the middle of the page for example, and does not get fixed at the end
– Fabio Souza
leaves the footer with the body Parent, without any other ancestor. Takes it from inside
.body-content
– StillBuggin
Position it above the div?
– Fabio Souza
https://jsfiddle.net/txa1dh3a/13/
– StillBuggin
This example positions in Footer, but if you have more content on the page it is overlaid. http://jsfiddle.net/tifabiosouza/nf2y2vv9/
– Fabio Souza
It does not overlap. The footer is fixed as you want: http://jsfiddle.net/nf2y2v9/1/
– StillBuggin