Bootstrap将图像底部与Div底部对齐

时间:2013-08-12 11:43:02

标签: html css twitter-bootstrap alignment

我正在使用自举的响应网格:

<div class="row-fluid">
    <div class="span5 offset1">
        <div class="row-fluid">
            <div class="span6">
                <img class="img-polaroid" src="http://placehold.it/480x300">
            </div>
            <div class="span6">
                <img class="img-polaroid" src="http://placehold.it/480x300">
            </div>
        </div>
    </div>
    <div class="span5">
        <p>
            long content here
        </p>
    </div>
</div>

如何将图像的底部与长paragraph的底部对齐? http://bootply.com/73592

1 个答案:

答案 0 :(得分:0)

这是你想要的吗?

<div class="row-fluid">
    <div class="span5 offset1">
        <div class="row-fluid">
            <div class="span6">
                <img class="img-polaroid" src="http://placehold.it/480x300">
            </div>
            <div class="span6">
                <img class="img-polaroid" src="http://placehold.it/480x300">
            </div>
        </div>
        <div class="row-fluid">
          <div class="span12">
            long content here 
          </div>
        </div>
    </div>
</div>