Twitter bootstrap 3 在选项卡内创建两个具有col-md-6的等宽输入,在两者之间留有空格

Twitter bootstrap 3 在选项卡内创建两个具有col-md-6的等宽输入,在两者之间留有空格,twitter-bootstrap-3,Twitter Bootstrap 3,我正在尝试创建两个在选项卡内占用相等空间的输入。代码如下 <tabset justified="true"> <tab heading="TAB1"> <h1>TAB1</h1> <div class="col-lg-6"> <input type="text" class

我正在尝试创建两个在选项卡内占用相等空间的输入。代码如下

<tabset justified="true">
                <tab heading="TAB1">
                    <h1>TAB1</h1>
                    <div class="col-lg-6">
                        <input type="text" class="form-control" placeholder="Loading station">
                    </div>
                    <div class="col-lg-6">
                        <input type="text" class="form-control" placeholder="Unloading station">
                    </div>
</tab>
</tabset>

表1
输入之间有一些我不想要的空间。请帮忙解决这个问题。

默认情况下,'.col-lg-6'类(或任何类似类)应用了填充;您在描述中没有给出太多细节(网站是否会响应?等等),因此您的问题的即时解决方案应该是:

.col-lg-6 {
  padding:0;
}