I have a problem with positioning a div to the bottom center.This is how my page looks like:
.fill{
height:auto;
min-height:100%;
}
.container {
min-height:80rem;
height:auto;
background: #c9c8c8;
}
.parent{
position:fixed;
bottom:0px;
width:100%;
}
.child{
width:100px;
margin:0px auto;
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<body>
<div class="fill">
<div class="container">
<div class="parent">
<div class="child">This is footer</div>
</div>
</div>
</div>
</body>
but whenever I scroll the page, the div stays at the bottom of the screen, not page.
Whenever I try anything else, on pages that don't have content on full page, the div just stays under the last post (pretty often in the middle od page).
I would really appreciate your help. Thank you very much!