老師,請問為什麼我的best seller區塊的第一張圖會自動偏左,是我程式有錯,還是要去改tad_theme的css , 謝謝
http://bdtonlinemall.com/
<br>
是用bootstrap的寫法啊???
<div class="container">
<div class="row-fluid">
<ul class="thumbnails">
<li class="span3">
<a href="http://bdtonlinemall.com/index.php?op=show_one_gb_cart_product&product_sn=2" class="thumbnail">
<img style="height:200px;max-width:200px;width: expression(this.width > 200 ? 200: true);" src="http://bdtonlinemall.com/uploads/gb_cart/image/product_pic_2_1.jpg" >
<p>title</p>
</a>
</li>
<li class="span3">
<a href="http://bdtonlinemall.com/index.php?op=show_one_gb_cart_product&product_sn=16" class="thumbnail">
<img style="height:200px;max-width:200px;width: expression(this.width > 200 ? 200: true);" src="http://bdtonlinemall.com/uploads/gb_cart/image/product_pic_16_1.jpg" >
<p>title</p>
</a>
</li>
.......
</ul >
</div>
</div>
我是不建議降級啦...
這樣是對的:
<div class="row-fluid">
<ul>
<li class="span3">圖1</li>
<li class="span3">圖2</li>
<li class="span3">圖3</li>
<li class="span3">圖4</li>
</ul>
</div>
<div class="row-fluid">
<ul>
<li class="span3">圖5</li>
<li class="span3">圖6</li>
<li class="span3">圖7</li>
<li class="span3">圖8</li>
</ul>
</div>
這樣是錯的:
<div class="row-fluid">
<ul>
<li class="span3">圖1</li>
<li class="span3">圖2</li>
<li class="span3">圖3</li>
<li class="span3">圖4</li>
<li class="span3">圖5</li>
<li class="span3">圖6</li>
<li class="span3">圖7</li>
<li class="span3">圖8</li>
</ul>
</div>