Posted by Dylan Parry on 11/16/05 00:53
As if the love poetry wasn't enough, Stefan Mueller just had to say:
> With the attribute <b>...</b> it works perfect but the word gets bold:
What were you expecting it to do?
> With the attribute <div>...</div> the word doesn't get bold but there is a
> line break:
That's because <div> is a block level element.
> Is there an attribute I can use only to add a tooltip text to a word?
You're on the right path using the /title/ attribute[1] but you are
probably looking for something like the <span> element if you want
nothing else to happen to the text.
What exactly are you trying to do though? Show us an example of the text
to which you wish to add the tooltip, and we may be able to suggest a
better way of doing it.
_____
[1] Note that /title/ is an attribute, but <b> and <div> are elements,
not attributes.
--
Dylan Parry
http://electricfreedom.org -- Where the Music Progressively Rocks!
Usenet: The first post is free, but the next will cost you your soul.
[Back to original message]
|