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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tooltips indiv. cells?

Status
Not open for further replies.

onslaughtdave3

Programmer
Sep 22, 2005
3
CA
Hey!

can you add a tooltip (like a pictures title) to individual cells within a table?

thx
 
Yes, just like with pictures, you use the [tt]title[/tt] attribute. For example:
Code:
<td title="This is a table cell.">&nbsp;</td>
Will work as expected. You might be confusing tooltips (title) with alternate text (alt), which indeed can be used solely for pictures. Alt is meant to be used for browser that block (or cannot show) pictures as an alternate text to show what picture represents. It is usually shorter than the title, which is meant to be used as a tooltip. MS decided to display alt in pictures as toolbar in their browser and caused much confusion with the users.
 
update:

That worked great, i think my problem that the cell was empty, and if that was the case i wasnt putting in the &nbsp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top