alternative to <acronym> just for more info

liunx

Guest
I was wanting to achieve an effect similar to using <acronym title="...">. I don't want to use just <a title="..."> since I want to use my css to make it obvious that it's not a hyperlink (like on the php.net page), it's more of a "hover over me for more info" link. But i don't want to "misuse" the <arconym> tag.<br />
<br />
The reason is that when someone logs in to my page, i want it to say "hello <firstname>", and when they hover the mouse over the firstname, it displays (in a tooltip) "you are logged in as <username>". It's not vital info, but i dont want to put it directly in the page.<br />
<br />
Does anyone know if this is possible, or if their's a tag that I've not come across yet for this sort of thing?<!--content-->The <span> element should suffice.<style type="text/css"><br />
/*<![CDATA[*/<br />
#userWelcome {<br />
border-bottom: 1px dotted #000;<br />
}<br />
/*]]>*/<br />
</style><p>Hello <span title="You are logged in as <username>." id="userWelcome"><firstname></span>.</p><!--content-->muchos gracias!<!--content-->
 
Back
Top