如何使用垂直滚动条将引导程序3 col-lg-x
转换为“固定高度大小”列?我做了很多研究并尝试了几种CSS代码,但没办法。
更新:我有这段代码,但它是横向滚动:
.scrollablepage > :last-child
{
height:552px;
overflow-y:scroll;
}
HTML:
<div class="container">
<div class="row">
<div class="col-lg-8 scrollablepage">
<div class="well well-sm">
<p>
hellohellohel lohellohellohellohell ohellohellohellohellohelloh ellohellohellohe
llohellohel lohelellohellohellohell ohellohellohel lohellohellohellohell
ohellohellohellohelloh ellohellohellohellohellohellohellohellohel
</p>
</div>
</div>
</div>
为什么它是水平滚动而不是垂直滚动?