the task is to set the div block to the end of the page, like a copyright, as on this page, but if there is not enough text on the page, then this block does not reach the bottom edge. Even if I set a negative margin-bottom a small strip still remains
.copyright { padding:5px; padding-top:20px; background-color:#e4e4e4; margin-top: 5px; margin: auto; clear: both; } <div class="copyright"> <span class="copyright-text">1</span><br /> <span class="copyright-text">2</span><br /> <span class="copyright-text">3</span><br /> <span class="copyright-text">4</span><br /> </div>