aboutsummaryrefslogtreecommitdiff
path: root/docs/components.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-05-15 09:41:06 -0700
committerMark Otto <[email protected]>2012-05-15 09:41:06 -0700
commit67f81a2ed53d5608a26eae5eb301614ad53cf3b5 (patch)
tree56e8745149ac68c20aba306614d628c1d9378e80 /docs/components.html
parent0679f24606dff0a3d38f88bad220d393bb363dba (diff)
downloadbootstrap-67f81a2ed53d5608a26eae5eb301614ad53cf3b5.tar.xz
bootstrap-67f81a2ed53d5608a26eae5eb301614ad53cf3b5.zip
clarify button type on dismiss icons
Diffstat (limited to 'docs/components.html')
-rw-r--r--docs/components.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/components.html b/docs/components.html
index 1ff759f2e..523b189bb 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -1697,7 +1697,7 @@
&lt;strong&gt;Warning!&lt;/strong&gt; Best check yo self, you're not looking too good.
&lt;/div&gt;
</pre>
- <p><span class="label label-info">Heads up!</span> iOS devices require an <code>href="#"</code> for the dismissal of alerts. Be sure to include it and the data attribute for anchor close icons. Alternatively, you may use a <code>&lt;button&gt;</code> element with the data attribute, which we have opted to do for our docs. When using <code>&lt;button&gt;</code>, you must include <code>type="button"</code> or risk unintentional form submissions.</p>
+ <p><span class="label label-info">Heads up!</span> iOS devices require an <code>href="#"</code> for the dismissal of alerts. Be sure to include it and the data attribute for anchor close icons. Alternatively, you may use a <code>&lt;button&gt;</code> element with the data attribute, which we have opted to do for our docs. When using <code>&lt;button&gt;</code>, you must include <code>type="button"</code> or your forms may not submit.</p>
<p>Easily extend the standard alert message with two optional classes: <code>.alert-block</code> for more padding and text controls and <code>.alert-heading</code> for a matching heading.</p>
<div class="alert alert-block">
<button type="button" class="close" data-dismiss="alert">&times;</button>