by Dominic Zukiewicz
16. January 2008 09:20
Short but sweet ....
If you've ever created a toolip using the "title" attribute of an anchor stage, you might expect that if you span multiple lines, the tooltip would also span multiple lines? On IE 6+, this IS the case, but on Firefox 1.0+, they do not. The way around it? Don't depend on mulitple lines!
After researching this, I found a referenced article to a bug at https://bugzilla.mozilla.org/show_bug.cgi?id=358452 , which says they are working on it, but isn't working on Version 2.0.0.11of Firefox.
Tooltips really are snippets of information relating to the link. If you are depending on the formatting of the text to convey some meaning, then you are using the wrong feature.
A better idea would be to create a floating div which is displayed at the tip of the mouse when it is triggered on the mouse over event.
Other workarounds include using add-ons or custom scripts:
http://userscripts.org/scripts/show/2619 - script
https://addons.mozilla.org/en-US/firefox/addon/1715 - add-on
c3001820-2b30-44d4-a269-ae8841fd9d47|0|.0
Tags:
Misc