当文本中有空格时,工具提示文本会换行,即使分区正确也是如此。如何将工具提示保持在单行中?

时间:2016-02-17 07:43:19

标签: html tooltip angular-ui-bootstrap

如果我将工具提示位置改为右边,它会分成两行。如何将工具提示换成单行?

<a title="This is a my text.">
My tooltip is getting  wrapped!

1 个答案:

答案 0 :(得分:0)

<a title="This&nbsp;is&nbsp;a&nbsp;long&nbsp;long&nbsp;long&nbsp;long&nbsp;long&nbsp;long&nbsp;long&nbsp;long&nbsp;long&nbsp;long&nbsp;long&nbsp;long&nbsp;long&nbsp;long&nbsp;long&nbsp;long&nbsp;long&nbsp;tooltip&nbsp;text.">
    My tooltip cannot be wrapped!
</a>

如果我在文本中添加它没有被包装。呀!