我正在容器中的一组跨度中显示条目。我想要一个图像和几行文本以跨度为中心。这工作正常。当我减小窗口的水平尺寸时,所有跨度都在容器的中心排列。有没有办法防止这种情况发生。这是代码:
<div class="well" style="padding-bottom:20px">
<div class="container">
<% @novels.each do |novel| %>
<div class="span3">
<div align="center"><%= link_to image_tag(novel.cover_thumbnail_url), novel %>
<br />
<%= link_to novel.name, novel%><br />
<%= novel.edition %>
</div>
</div>
<% end %>
</div>
谢谢。