Web Tooltip "universally Accepted" Linebreak Character?
Solution 1:
Update: This has been cleared up in HTML5 using the title attribute. Now Firefox 12 supports it. Try this:
<spantitle="First line Second line">Test</span>
Bad news: Firefox does not line break tooltips. This is actually a non-standard html extension, ie a bug in MSIE that may cause problem with certain pages.
See this bug on the firefox issue tracker.
Solution 2:
As of Firefox 12 they now support line breaks using the line feed HTML entity:
<spantitle="First line Second line">Test</span>
This works in IE and is correct according to the HTML5 spec for the title attribute.
Solution 3:
Firefox doesn't display multi-lines in tooltips.
Use tooltip script if you really want to customize it as you expected. http://www.hongkiat.com/blog/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials/
Solution 4:
This works in mail messages %0A
See these google results for more information.
Post a Comment for "Web Tooltip "universally Accepted" Linebreak Character?"