diff options
| author | Mark Otto <[email protected]> | 2012-02-05 01:41:45 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-02-05 01:41:45 -0800 |
| commit | abf4ecac4dbd378a4985880e27f2897ebca75e7b (patch) | |
| tree | f56aae97241d13e8ede02585c982fa0baf4349dd /docs/base-css.html | |
| parent | 83cb1053178241d95b0f53da062a4b742d0313cc (diff) | |
| download | bootstrap-abf4ecac4dbd378a4985880e27f2897ebca75e7b.tar.xz bootstrap-abf4ecac4dbd378a4985880e27f2897ebca75e7b.zip | |
add another code example for horizontal forms
Diffstat (limited to 'docs/base-css.html')
| -rw-r--r-- | docs/base-css.html | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/docs/base-css.html b/docs/base-css.html index f84cbe774..22025bbb2 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -869,7 +869,8 @@ For example, <code>section</code> should be wrapped as inline. <pre class="prettyprint linenums"> <form class="well"> <label>Label name</label> - <input type="text" class="span3" placeholder="Type something…"> <span class="help-inline">Associated help text!</span> + <input type="text" class="span3" placeholder="Type something…"> + <span class="help-inline">Associated help text!</span> <label class="checkbox"> <input type="checkbox"> Check me out </label> @@ -983,6 +984,22 @@ For example, <code>section</code> should be wrapped as inline. </div> </fieldset> </form> + <h3>Example markup</h3> + <p>Given the above example form layout, here's the markup associated with the first input and control group.</p> +<pre class="prettyprint linenums"> +<form class="form-horizontal"> + <fieldset> + <legend>Legend text</legend> + <div class="control-group"> + <label class="control-label" for="input01">Text input</label> + <div class="controls"> + <input type="text" class="input-xlarge" id="input01"> + <p class="help-block">Supporting help text</p> + </div> + </div> + </fieldset> +</form> +</pre> </div> <div class="span4"> <h3>What's included</h3> |
