Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Easiest way to associate <alt> style text to a <td>?? 3

Status
Not open for further replies.

AndyB21

Programmer
Dec 4, 2000
26
0
0
GB
Is there an easy way to use the <img alt=&quot;&quot;> style tag, where text is displayed when you hover over an object - to the contents of a <td> - which itself may be text or an empty cell?

Cheers.
 
you could use javascript to display the text in a hidden layer when the user mouse's over your td &quot;The surest sign that intelligent life exists elsewhere in the universe is that it has never tried to contact us&quot;
Bill Watterson, Calvin & Hobbes
 
Having never used layers, never mind hidden ones, would it be too much to ask for an example code snippet or a URL where I can see this being employed?
 
You can use the IE 'title' attribute. <td title=&quot;hello&quot;>..

Tom
 
Well darn, I didn't know that.

&quot;The surest sign that intelligent life exists elsewhere in the universe is that it has never tried to contact us&quot;
Bill Watterson, Calvin & Hobbes
 
That's the ticket! Cheers Mr Grey. Is that a bit of an &quot;IE Only&quot; tag though or is it just new?, as it's not in my invaluable &quot;web design in a nutshell&quot; book?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top