2
我是bootstrap的新手,我试图追加这些短跑单元,让他们在一个小小的学校项目中并排显示。Bootstrap append div
实施例:划线单元< - 短划线单元< - 短划线单元< - 划线单元
其中insted的appread下海誓山盟。但我无法弄清楚如何从左边追加它们。
父div是一个盒子主题。
这是一张图片和一些代码。
http://postimg.org/image/qql0uscad/6e57fd76/
<div class="container">
<div class="box theme well">
<div id="itemListing">
<c:forEach items="#{product.allItems}" var="productItem" >
<div class="container">
<div class="dash-unit col-sm-2">
<div style="color: lightskyblue; margin: 4px; ">#{productItem.title}</div>
<hr style="color: white;" />
<img src="#{product.IMG_URL}#{productItem.img_url}" />
<br/>
<br/>
Genre: #{productItem.genre}
<br/>
Tillverkare: #{productItem.manufacturer}
<br/>
Pris: #{productItem.price}
<br/>
<br/>
<div style="color: greenyellow;">Lagersaldo: #{productItem.quantity}</div>
</div>
</div>
</c:forEach>
</div>
</div>
</div>
它非常完美,非常感谢你! =) – Henkolicious
很高兴它的窍门@Henkolicious&没问题开心帮忙! – tohood87