我想用angularJS循環填充div標籤中的數據。爲什麼HTML Div標籤之間的隨機邊距
<div>
<div class='box' ng-repeat="product in Products | filter:{'scid': SCId.toString()}:true | orderBy:'pname'">
<br>
<b>{{product.bname}} </b>
<br>{{ product.pname }}
<br>
<img src="http://localhost/{{ product.image_path }}" alt="" border=3 height=75 width=75></img>
</div>
</div>
這是我的CSS類。
.box {
margin : 5px;
display : inline-block;
width: 150px;
height: 250px;
background-color: grey;
text-align:center;
}
但它沒有正確渲染。 (一些隨機的保證金頂部和底部)
有人能幫助我在做什麼錯?