aboutsummaryrefslogtreecommitdiff
path: root/css.html
diff options
context:
space:
mode:
authorRakhat Jabagin <[email protected]>2013-11-21 12:03:06 +0600
committerRakhat Jabagin <[email protected]>2013-11-21 12:04:48 +0600
commitbf62a6241ac6c3d0de4c76d6048b679a7473c20f (patch)
tree1563b70c897398eb0ccbea5e52921f755e3ac6d7 /css.html
parent6ed5a844a8ca3582240ddda70d63a3d7bfea7c50 (diff)
downloadbootstrap-bf62a6241ac6c3d0de4c76d6048b679a7473c20f.tar.xz
bootstrap-bf62a6241ac6c3d0de4c76d6048b679a7473c20f.zip
add role form for horizontal form example
Diffstat (limited to 'css.html')
-rw-r--r--css.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/css.html b/css.html
index 495092e12..054354258 100644
--- a/css.html
+++ b/css.html
@@ -1617,7 +1617,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
<h2 id="forms-horizontal">Horizontal form</h2>
<p>Use Bootstrap's predefined grid classes to align labels and groups of form controls in a horizontal layout by adding <code>.form-horizontal</code> to the form. Doing so changes <code>.form-group</code>s to behave as grid rows, so no need for <code>.row</code>.</p>
<div class="bs-example">
- <form class="form-horizontal">
+ <form class="form-horizontal" role="form">
<div class="form-group">
<label for="inputEmail3" class="col-sm-2 control-label">Email</label>
<div class="col-sm-10">