bootstrap布局两列或者多列表单

1, 代码如下:

                        <div class="form-group">
                            <label for="starttime" class="col-sm-2 control-label">实际开始时间</label>
                            <div class="col-md-4">
                                <input class="form-control" type="text" id="starttime" readonly="readonly" onchange="checkNull(this,'submitButton')" />
                            </div>
                            <label for="endtime" class="col-sm-2 control-label">实际结束时间</label>
                            <div class="col-md-4">
                                <input class="form-control" type="text" id="endtime" readonly="readonly" onchange="checkNull(this,'submitButton')" />
                            </div>
                        </div>

2, control-group became form-group in bootstrap3

posted @ 2016-09-10 21:44  jimcsharp  阅读(25940)  评论(0编辑  收藏  举报