Since I’m always forgetting how to add carriage returns in my title attributes, I’d thought I’d add it here.
The original HTML looked like the following:
which produced the following mouseover toolip.
So, to add carriage returns (line feeds) to your tooltips, you just need to add the
entity. Now the code would be:
… and the new tooltip would look like:
Note: Please make sure to test across all platforms; I’m not sure if it works on every browser — and right now, I’m too pooped to test.
Update: This tip doesn’t seem to work in FF3.6.3 on Mac. However, I used this tip on an intranet site where IE is only supported.