mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
clearer copy
This commit is contained in:
parent
a263e19419
commit
d7d32c475f
@ -332,7 +332,9 @@ Because of this, you may need to manually address the width and alignment of ind
|
|||||||
|
|
||||||
### Using the Grid
|
### Using the Grid
|
||||||
|
|
||||||
For more structured form layouts, you can utilize Bootstrap's predefined grid classes (or mixins). Add the `.row` class to form groups and use the `.col-*` classes to specify the width of your labels and controls. To vertically center the labels with the textual inputs—nearly anything with `.form-control`—use the `.form-control-label` class.
|
For more structured form layouts, you can utilize Bootstrap's predefined grid classes (or mixins) to create horizontal forms. Add the `.row` class to form groups and use the `.col-*-*` classes to specify the width of your labels and controls.
|
||||||
|
|
||||||
|
Be sure to add `.form-control-label` to your `<label>`s as well so they're vertically centered with their associated labels.
|
||||||
|
|
||||||
{% example html %}
|
{% example html %}
|
||||||
<form>
|
<form>
|
||||||
|
Loading…
Reference in New Issue
Block a user