<p>The responsive navbar requires the <ahref="../javascript/#collapse">collapse plugin</a> to be included in your version of Bootstrap.</p>
<p>The responsive navbar requires the <ahref="../javascript/#collapse">collapse plugin</a> to be included in your version of Bootstrap.</p>
</div>
</div>
<divclass="bs-callout bs-callout-warning">
<divclass="bs-callout bs-callout-warning">
<h4>Make navbars accessible</h4>
<h4>Make navbars accessible</h4>
<p>Be sure to add a <code>role="navigation"</code> to every navbar to help with accessibility.</p>
<p>Be sure to add a <code>role="navigation"</code> to every navbar to help with accessibility.</p>
</div>
</div>
<h2id="navbar-forms">Forms</h2>
<h2id="navbar-forms">Forms</h2>
...
@@ -1577,14 +1577,14 @@ base_url: "../"
...
@@ -1577,14 +1577,14 @@ base_url: "../"
</form>
</form>
{% endhighlight %}
{% endhighlight %}
<divclass="bs-callout bs-callout-danger">
<divclass="bs-callout bs-callout-danger">
<h4>Always add labels</h4>
<h4>Always add labels</h4>
<p>Screen readers will have trouble with your forms if you don't include a label for every input. For these inline navbar forms, you can hide the labels using the <code>.sr-only</code> class.</p>
<p>Screen readers will have trouble with your forms if you don't include a label for every input. For these inline navbar forms, you can hide the labels using the <code>.sr-only</code> class.</p>
</div>
</div>
<h2id="navbar-buttons">Buttons</h2>
<h2id="navbar-buttons">Buttons</h2>
<p>For buttons not residing in a <code><form></code>, add this class to vertically center buttons within a navbar.</p>
<p>Add the <code>.navbar-btn</code> class to <code><button></code> elements not residing in a <code><form></code> to vertically center them in the navbar.</p>
<p>Like the standard <ahref="{{ page.base_url }}css#buttons">button classes</a>, <code>.navbar-btn</code> can be used to style <code><a></code> and <code><input></code> elements in most contexts. However, neither <code>.navbar-btn</code> nor the other button classes should be used within a <code>.navbar-nav</code>.</p>
</div>
<h2id="navbar-text">Text</h2>
<h2id="navbar-text">Text</h2>
<p>Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code><p></code> tag for proper leading and color.</p>
<p>Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code><p></code> tag for proper leading and color.</p>