簡單,
擺正<div>
(內側#main-right-column
列)成<table>
容器和設置最小寬度。
CSS:
.width-300-450 {
min-width:300px;
width: 100%;
max-width:450px
}
例子:
<table>
<tr>
<td>
<div class="width-300-450">
<div class="col-xs-12 bg-success">
<h2>test</h2>
</div>
<div class="col-xs-12 bg-warning">
<p>...</p>
</div>
</div>
</td>
<td>
<div class="width-300-450">
<div class="col-xs-12 bg-success">
<h2>test</h2>
</div>
<div class="col-xs-12 bg-warning">
<p>...</p>
</div>
</div>
</td>
</tr>
</table>
在#main-right-column
您必須設置overlay-x
屬性:
#main-right-column {
overflow-x: auto;
display: inline-block;
padding:0;
}
完整的示例在這裏:Bootstrap fiddle