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 @ 2018-03-17 09:36  左正  阅读(739)  评论(0编辑  收藏  举报