Without delegating width management to Bootstrap, I can get three full-height columns
with the following HTML/CSS.
<!DOCTYPE html>
<head>
<style>
div {
position: fixed;
border: 5px dashed blue;
box-sizing: border-box;
}
.left {
height: 100%; top: 0;
width: 33%; left: 0;
}
.middle {
height: 100%; top: 0;
width: 33%; left: 33%;
}
.right {
height: 100%; top: 0;
width: 34%; left: 66%;
}
h2.text-center {
text-align: center;
}
</style>
</head>
<body>
<div class="left">
<h2 class="text-center">Left</h2>
</div>
<div class="middle">
<h2 class="text-center">Middle</h2>
</div>
<div class="right">
<h2 class="text-center">Right</h2></div>
</div>
</body>
To let Bootstrap handle the widths, I wrote
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet"
href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>
<style>
body {
min-height: 100%;
border: 3px solid green;
}
.fullheight {
min-height: 100%;
border: 3px solid blue;
/* position: absolute; */
}
</style>
</head>
<body>
<div class="container-fluid fullheight">
<div class="row fullheight">
<div class="col-xs-4 col-md-4">
<h2 class="text-center">Left</h2>
</div>
<div class="col-xs-4 col-md-4">
<h2 class="text-center">Middle</h2>
</div>
<div class="col-xs-4 col-md-4">
<h2 class="text-center">Right</h2>
</div>
</div>
</div>
</body>
Switching position to absolute does not work in combination with Bootstrap, and the other previous discussions on this issue (1, 2, 3, 4) do not help.
How do I set the height to 100% when the widths are managed by Bootstrap?
If there is a Bootstrap-way to set DIVs to 100% height, that would be even better.