I have no idea how to do this, in fact, I want the columns to touch the top of the div at the bottom of the div when the div has a min-height 100%. But this does not work:
html, body { height: 100%; } body { max-width: 1500px; margin: 0 auto; } #wrapper { min-height: 100%; overflow: auto; } .container { min-height: 100%; overflow: auto; } .container .row .col-md-6 { min-height: 100%; }
The wrapper extends to the bottom of the page, but there is no div in the container. It is distributed only to the end of the content contained in.
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Title of the document</title> </head> <body> <div id="wrapper"> <div class="container"> <div class="row"> <div class="col-md-6"></div> <div class="col-md-6"></div> </div> </div> </div> </body> </html>
Is there something I am missing? The body and html go 100%, the wrapper goes 100%, and then the container does not go 100% ... why?
source share