diff options
| author | James Holland <[email protected]> | 2013-07-26 08:58:47 -0400 |
|---|---|---|
| committer | James Holland <[email protected]> | 2013-07-26 08:58:47 -0400 |
| commit | 6115f01adb0e5db407e09077972c3e3e1f82a54e (patch) | |
| tree | c75c14df06a85b5e958da1230c579a612b23bb95 /css.html | |
| parent | 2a51ebf671aca07cdb549c264a9b2c2dd3d7d540 (diff) | |
| download | bootstrap-6115f01adb0e5db407e09077972c3e3e1f82a54e.tar.xz bootstrap-6115f01adb0e5db407e09077972c3e3e1f82a54e.zip | |
Update css.html in .form-horizontal
to use .row.form-group for horizontal spacing instead of .form-horizontal .row + .row
Diffstat (limited to 'css.html')
| -rw-r--r-- | css.html | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1254,13 +1254,13 @@ For example, <code><section></code> should be wrapped as inline. <h3 id="forms-horizontal">Horizontal form</h3> <p>Use Bootstrap's predefined grid classes to align labels and groups of form controls in a horizontal layout.</p> <form class="bs-example form-horizontal"> - <div class="row"> + <div class="row form-group"> <label for="inputEmail" class="col-lg-2 control-label">Email</label> <div class="col-lg-10"> <input type="text" class="form-control" id="inputEmail" placeholder="Email"> </div> </div> - <div class="row"> + <div class="row form-group"> <label for="inputPassword" class="col-lg-2 control-label">Password</label> <div class="col-lg-10"> <input type="password" class="form-control" id="inputPassword" placeholder="Password"> @@ -1277,13 +1277,13 @@ For example, <code><section></code> should be wrapped as inline. </form> {% highlight html %} <form class="form-horizontal"> - <div class="row"> + <div class="row form-group"> <label for="inputEmail" class="form-control" class="col-lg-2 control-label">Email</label> <div class="col-lg-10"> <input type="text" id="inputEmail" placeholder="Email"> </div> </div> - <div class="row"> + <div class="row form-group"> <label for="inputPassword" class="col-lg-2 control-label">Password</label> <div class="col-lg-10"> <input type="password" class="form-control" id="inputPassword" placeholder="Password"> |
