那么位移是由margin-left引起的。
这并不理想,但您始终可以覆盖 CSS:
.container-fluid .row-fluid [class*="span"] {
margin-left:0px;
}
但实际上,错误似乎在于您声明了 12 个 span3 DIV,总共有 36 个。12 是流体容器的限制,因此您需要创建这些 span1:
<div class="container-fluid">
<div class="row-fluid">
<div class="span1">1
</div>
<div class="span1">2
</div>
<div class="span1">3
</div>
<div class="span1">4
</div>
<div class="span1">5
</div>
<div class="span1">6
</div>
<div class="span1">7
</div>
<div class="span1">8
</div>
<div class="span1">9
</div>
<div class="span1">10
</div>
<div class="span1">11
</div>
<div class="span1">12
</div>
</div>
<div class="row-fluid">
<div class="span3">
1
</div>
<div class="span3">
2
</div>
<div class="span3">
3
</div>
<div class="span3">
4
</div>
</div>
<div class="row-fluid">
<div class="span3">
1
</div>
<div class="span3">
2
</div>
<div class="span3">
3
</div>
<div class="span3">
4
</div>
</div>
</div>
看这里:
http://jsfiddle.net/7Lu43/51/