可能重复: 如何在Twitter上引导中心的形式?
我想在页面的中心对准我的形式,有否办法做到这一点的叽叽喳喳引导?或者我必须这样做,在同样的旧习俗的方式?
I want to align my form in the center of the page, is there nay way to do it in twitter bootstrap? or i have to do it in same old custom way?
您需要使用的网格系统。 请尝试以下操作:
You need to use the grid system. Try the following:
<div class="span3 offset3">
<form></form>
</div>