]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add role form for horizontal form example 11567/head
authorRakhat Jabagin <neilhem@hotmail.com>
Thu, 21 Nov 2013 06:03:06 +0000 (12:03 +0600)
committerRakhat Jabagin <neilhem@hotmail.com>
Thu, 21 Nov 2013 06:04:48 +0000 (12:04 +0600)
css.html

index 495092e12524721faa296d74766ac40ef930f6d7..054354258f0b8272dacc7332b517157f8e49ee25 100644 (file)
--- 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">