Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: incrediBILL
I have a small problem. I want to display text on mouse over a link, so I use this structure:
<a href="http://www.example.com" title="Exemplary website"> - works fine</a>
However I want to put a line break inside a title to display it as:
How do I do that?
Hope to hear from you
PS. <a href="#" title="New
<a href="#" title="New<br>line">
There are two approaches:
1) Use the character entity for a carriage return, which is Thus:
(For a full list of character entities, try Googling "HTML Character Codes".)
2) to do any additional styling to your "tooltips", Google "CSS tooltips"
In this example it's more info about the person online:
<a href="person.html?id=212" title="More info
and even more info">Andrew Watson</a>
You see why is that?
The link is short because it's a list.
If anybody knows Andrew Watson it's not him :)
Thanks guys for the answer! To know that sth cannot be done is also information.