我的 bootstrap 缩略图与它们有不同的高度,我认为这个问题可能导致它们无法正确堆叠(参见屏幕截图和小提琴)。我想我需要为他们包括一个最小高度,但我就是无法让它工作..有人可以帮忙吗?
这是我拥有的代码:
<body>
<div class="container-fluid">
<div class="hidden-phone">
<a href="newBook.php">
<button class="btn btn-large btn-primary" style="float:right; margin-top:30px;" type="button">Add Book</button>
</a>
</div>
<div class="row-fluid">
<div class="span12 well">
<div class="row-fluid">
<ul class="thumbnails">
<li class="span4">
<div class="thumbnail">
<img src="http://placehold.it/320x200" alt="ALT NAME">
<div class="caption">
<h3>Title</h3>
<p>Seller: Me</p>
<p>Email: </p>
<p>Cost: </p>
<p>Condition: </p>
<p align="center">
<a href="#myModal" class="btn btn-primary btn-block" data-toggle="modal">View More information</a>
</p>
</div>
</div>
</li>
<li class="span4">
<div class="thumbnail">
<img src="http://placehold.it/320x200" alt="ALT NAME">
<div class="caption">
<h3>Title</h3>
<span class="label label-warning" style="margin-bottom: 10px;">Book has been sold!</span>
<p>Seller: Me</p>
<p>Email: </p>
<p>Cost: </p>
<p>Condition: </p>
<p align="center">
<a href="#myModal" class="btn btn-primary btn-block" data-toggle="modal">View More information</a>
</p>
</div>
</div>
</li>
<li class="span4">
<div class="thumbnail">
<img src="http://placehold.it/320x200" alt="ALT NAME">
<div class="caption">
<h3>Title</h3>
<p>Seller: Me</p>
<p>Email: </p>
<p>Cost: </p>
<p>Condition: </p>
<p align="center">
<a href="#myModal" class="btn btn-primary btn-block" data-toggle="modal">View More information</a>
</p>
</div>
</div>
</li>
<li class="span4">
<div class="thumbnail">
<img src="http://placehold.it/320x200" alt="ALT NAME">
<div class="caption">
<h3>Title</h3>
<p>Seller: Me</p>
<p>Email: </p>
<p>Cost: </p>
<p>Condition: </p>
<p align="center">
<a href="#myModal" class="btn btn-primary btn-block" data-toggle="modal">View More information</a>
</p>
</div>
</div>
</li>
<li class="span4">
<div class="thumbnail">
<img src="http://placehold.it/320x200" alt="ALT NAME">
<div class="caption">
<h3>Title</h3>
<p>Seller: Me</p>
<p>Email: </p>
<p>Cost: </p>
<p>Condition: </p>
<p align="center">
<a href="#myModal" class="btn btn-primary btn-block" data-toggle="modal">View More information</a>
</p>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
</body>
小提琴:http://jsfiddle.net/Z3VwZ/
屏幕: