2011-04-15 43 views
1
<div class="productcontainer"> 
<div class="product"><img src="products/p1.jpg" height="75" /><br />Item 1</div> 
<div class="product"><img src="products/p1.jpg" height="75" /><br />Item 2</div> 
<div class="product"><img src="products/p1.jpg" height="75" /><br />Item 3<br />Test</div> 
<div class="product"><img src="products/p1.jpg" height="75" /><br />Item 4</div> 
<div class="product"><img src="products/p1.jpg" height="75" /><br />Item 5</div> 
</div> 

.productcontainer { width: 320px } 
.product { width: 100px; height: 100px; display: inline-block; border: solid 1px #000000 } 

爲什麼項目3不在頂部?爲什麼箱子沒有正確對齊?

回答