I use \\n to create a linebreak in web tooltip. This works in IE and in Chrome. But Firefox ignores it.
What will work universally as linebreak character in tooltip?
Update: This has been cleared up in HTML5 using the title attribute. Now Firefox 12 supports it. Try this:
<span title="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.
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/
This works in mail messages %0A See these google results for more information.
As of Firefox 12 they now support line breaks using the line feed HTML entity:
<span title="First line Second line">Test</span>
This works in IE and is correct according to the HTML5 spec for the title attribute.