1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-24 03:40:10 +00:00
This commit is contained in:
Chris Rebert 2014-06-29 19:58:09 -07:00
parent 1098453f83
commit d23d9ee4a0

View File

@ -58,7 +58,7 @@ $('#example').tooltip(options)
<h4>Multiple-line links</h4> <h4>Multiple-line links</h4>
<p>Sometimes you want to add a tooltip to a hyperlink that wraps multiple lines. The default behavior of the tooltip plugin is to center it horizontally and vertically. Add <code>white-space: nowrap;</code> to your anchors to avoid this.</p> <p>Sometimes you want to add a tooltip to a hyperlink that wraps multiple lines. The default behavior of the tooltip plugin is to center it horizontally and vertically. Add <code>white-space: nowrap;</code> to your anchors to avoid this.</p>
</div> </div>
{% highlight html linenos %} {% highlight html %}
<!-- HTML to write --> <!-- HTML to write -->
<a href="#" data-toggle="tooltip" title="Some tooltip text!">Hover over me</a> <a href="#" data-toggle="tooltip" title="Some tooltip text!">Hover over me</a>