зеркало из https://github.com/twbs/bootlint.git
Страница:
E035
Страницы
E001
E002
E003
E004
E005
E006
E007
E009
E010
E011
E012
E013
E014
E015
E016
E017
E018
E019
E020
E021
E022
E023
E024
E025
E026
E027
E028
E029
E030
E031
E032
E033
E034
E035
E036
E037
E038
E039
E040
E041
E042
E043
E044 (Missing children within `.input group`)
E044
E045
E046
E047
E048
E049
E050
E051
E052
Home
W001
W002
W003
W004
W005
W006
W007
W008
W009
W010
W012
W013
W014
W015
W016
W017
W018
1
E035
cvrebert редактировал(а) эту страницу 2014-10-30 14:23:19 -07:00
E035
Neither .form-inline
nor .form-horizontal
should be used directly on a .form-group
. Instead, nest the .form-group
within the .form-inline
or .form-horizontal
.form-inline
and .form-horizontal
are meant as containers for form content and are typically used on <form>
s (although using them on <div>
s is also valid). .form-group
is meant to contain a single label-field pair. Using .form-inline
or .form-horizontal
on .form-group
doesn't make sense. Instead, put the .form-group
within the .form-inline
or .form-horizontal
.
Wrong:
<div class="form-group form-inline">
...
</div>
<div class="form-group form-horizontal">
...
</div>
Right:
<div class="form-inline">
<div class="form-group">
...
</div>
</div>
<div class="form-horizontal">
<div class="form-group">
...
</div>
</div>
Bootlint documentation wiki content is licensed under the CC BY 3.0 License, and based on Bootstrap's docs which are copyright Twitter, Inc.