我已经有一排

<div class="row input_section">
    <div class="span3">
        <h3>Origin</h3>
        <p>Where is the orinin of the delivery? Use to calculate price of delivery</p>
    </div>
    <div class="span9 delivery_section">
        <label><div>Address</div>
           <input type="text" name="type" value=""/>
        </label>
        <label>
            <button class="btn btn-primary"  type="button">Verify</button>
        </label>
        <label><div style="width:100%;height:150px;border:1px solid black;"></div></label>
    </div>


</div>


而且我想在span9中完全使用div大小。
所以,我怎么写呢?

最佳答案

选中此jsFiddle

Bootstrap已经具有要设置为内联的类form-inline
在您现有的div中使用它,并在此class="form-inline"后面添加

替换此行

 <div class="span9 delivery_section">


进入

 <div class="span9 delivery_section form-inline">


我已经使用了,希望对您有所帮助!

10-07 19:05
查看更多