twitter-bootstrap – Bootstrap水平表单“control-label”不使
发布时间:2020-12-17 20:42:41 所属栏目:安全 来源:网络整理
导读:我正在使用Bootstrap 2的“form-horizo??ntal”类,但我的标签似乎没有使用Responsive样式.这就是它的样子: ?? 当我检查它时,它在标签上特别具有“width:160px”,这是常规的Bootstrap设置,但是Responsive样式只有“width:auto”. 我对该部分的HTML看起来像
我正在使用Bootstrap 2的“form-horizo??ntal”类,但我的标签似乎没有使用Responsive样式.这就是它的样子:
?? 当我检查它时,它在标签上特别具有“width:160px”,这是常规的Bootstrap设置,但是Responsive样式只有“width:auto”. 我对该部分的HTML看起来像这样: <form id="addproject" class="form-horizontal"> <div class="control-group"> <label for="title" class="control-label">Title</label> <div class="controls"> <input type="text" name="title" id="title" /> </div> </div> </form> 解决方法
必须在bootstrap-responsive.css文件之前加载bootstrap.css.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |