1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 06:44:35 +02:00

make form classes match table classes (readable left to right), update docs associated with it

This commit is contained in:
Mark Otto
2011-11-17 00:06:16 -08:00
parent a017932285
commit a8e88d14a4
4 changed files with 40 additions and 38 deletions

View File

@@ -696,22 +696,22 @@
<tbody>
<tr>
<th>Vertical (default)</th>
<td><code>.form-vertical</code> <span class="muted">(not required)</span></td>
<td><code>.vertical-form</code> <span class="muted">(not required)</span></td>
<td>Stacked, left-aligned labels over controls</td>
</tr>
<tr>
<th>Horiztonal</th>
<td><code>.form-horizontal</code></td>
<td><code>.horizontal-form</code></td>
<td>Float left, right-aligned labels on same line as controls</td>
</tr>
<tr>
<th>Inline</th>
<td><code>.form-inline</code></td>
<td><code>.inline-form</code></td>
<td>Left-aligned label and inline-block controls for compact style</td>
</tr>
<tr>
<th>Search</th>
<td><code>.form-search</code></td>
<td><code>.search-form</code></td>
<td>Extra-rounded text input for a typical search aesthetic</td>
</tr>
</tbody>
@@ -734,7 +734,7 @@
</div>
<div class="span9">
<div class="well">
<form class="form-search">
<form class="search-form">
<input type="text" class="search-query">
<button type="submit" class="btn">Search</button>
</form>
@@ -747,7 +747,7 @@
</div>
<div class="span9">
<div class="well">
<form class="form-inline">
<form class="inline-form">
<h4>Some directional text</h4>
<p>And maybe some kind of optional supporting text right here.</p>
<input type="text" class="input-medium">
@@ -763,7 +763,7 @@
<h2>Horizontal form</h2>
</div>
<div class="span9">
<form class="form-horizontal">
<form class="horizontal-form">
<legend>Example form</legend>
<fieldset class="control-group">
<label class="control-label" for="input01">Text input</label>
@@ -867,7 +867,7 @@
<h2>Vertical form</h2>
</div>
<div class="span9">
<form class="form-vertical">
<form class="vertical-form">
<legend>Example form</legend>
<fieldset class="control-group">
<label class="control-label" for="input01">Label</label>