Set div height equal to screen size
问题 I have a div element in twitter-bootstrap which will have content that will overflow vertically outside the screen. I would like the div to take the height of the size of the browser window and let the rest of the content scroll vertically within the window. I have a sample that is not working @jsFiddle #content { border: 1px solid #000; overflow-y:auto; height:100%; } <div class="container-fluid"> <div class="row-fluid"> <div class="span3">Side Bar</div> <div class="span9" id="content">