私はこのようなものを持っています:
+-------------------------------------------+
| -- navigation -- |
+------+------------------------------------+
| | |
| left | |
| side | |
| with | |
| affix| -- content (white) -- |
| menu | |
|-black| |
| | |
| | |
| +------------------------------------+
| | -- footer (white) -- |
+------+------------------------------------+
TB 3.0 での私のレイアウト、およびいくつかのコードとして:
<body>
<header>
<div class="row">
<div class="col-md-12>-- navigation (height = 50px) here --</div>
</div>
</header>
<div class="row">
<div class="col-md-4">-- left side with black background here --</div>
<div class="col-md-8">
<div class="row">
<div class="col-md-12">-- content with white background here --</div>
</div>
<div class="row">
<div class="col-md-12">-- footer (height = 50px) with white background here --</div>
</div>
</div>
</div>
</body>
左側 (黒い背景) とコンテンツ (白い背景) をブラウザー ウィンドウの高さ = 100% にし、コンテンツの下のフッター (白い背景) を (スクロールしても) 見えるようにします。
今のところ、辺の最後の要素の高さを取得します。コンテンツが短い場合、たとえばブラウザの垂直方向の中央で終了します。
ここにあります:http://codepen.io/anon/pen/FxImy