diff options
| author | Mark Otto <[email protected]> | 2012-10-01 11:27:40 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-10-01 11:27:40 -0700 |
| commit | e6d6c7a413d69afc41c3c57b72f1b0dedfdbb516 (patch) | |
| tree | cba5e4f18108c82b0d67298e671acd3c69b15fa7 /docs/base-css.html | |
| parent | 8da78223ffe7922f46167e7429c40339e7bc53d2 (diff) | |
| parent | c6c1ada60074e420fa93174cb3db167faf618e2b (diff) | |
| download | bootstrap-e6d6c7a413d69afc41c3c57b72f1b0dedfdbb516.tar.xz bootstrap-e6d6c7a413d69afc41c3c57b72f1b0dedfdbb516.zip | |
Merge branch '2.1.2-wip' into exploratory
Conflicts:
docs/assets/css/bootstrap.css
less/navs.less
Diffstat (limited to 'docs/base-css.html')
| -rw-r--r-- | docs/base-css.html | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/docs/base-css.html b/docs/base-css.html index 8d0261e5c..1070ef2f4 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -873,25 +873,29 @@ For example, <code><section></code> should be wrapped as inlin <h2 id="forms-default">Default styles</h2> <p>Individual form controls receive styling, but without any required base class on the <code><form></code> or large changes in markup. Results in stacked, left-aligned labels on top of form controls.</p> <form class="bs-docs-example"> - <legend>Legend</legend> - <label>Label name</label> - <input type="text" placeholder="Type something…"> - <span class="help-block">Example block-level help text here.</span> - <label class="checkbox"> - <input type="checkbox"> Check me out - </label> - <button type="submit" class="btn">Submit</button> + <fieldset> + <legend>Legend</legend> + <label>Label name</label> + <input type="text" placeholder="Type something…"> + <span class="help-block">Example block-level help text here.</span> + <label class="checkbox"> + <input type="checkbox"> Check me out + </label> + <button type="submit" class="btn">Submit</button> + </fieldset> </form> <pre class="prettyprint linenums"> <form> - <legend>Legend</legend> - <label>Label name</label> - <input type="text" placeholder="Type something…"> - <span class="help-block">Example block-level help text here.</span> - <label class="checkbox"> - <input type="checkbox"> Check me out - </label> - <button type="submit" class="btn">Submit</button> + <fieldset> + <legend>Legend</legend> + <label>Label name</label> + <input type="text" placeholder="Type something…"> + <span class="help-block">Example block-level help text here.</span> + <label class="checkbox"> + <input type="checkbox"> Check me out + </label> + <button type="submit" class="btn">Submit</button> + </fieldset> </form> </pre> @@ -945,7 +949,6 @@ For example, <code><section></code> should be wrapped as inlin <li>Wrap any associated controls in <code>.controls</code> for proper alignment</li> </ul> <form class="bs-docs-example form-horizontal"> - <legend>Legend</legend> <div class="control-group"> <label class="control-label" for="inputEmail">Email</label> <div class="controls"> |
