You are here: Re: Mouse over table cell --> A "alt" like style tab appears « HTML « IT news, forums, messages
Re: Mouse over table cell --> A "alt" like style tab appears

Posted by Jonathan N. Little on 03/03/07 17:26

Eric Layman wrote:
> Hi everyone.
>
> An image allows alt attribute. When mouse over images with alt attribute, a
> small yellow popup would appear besides the mouse cursor.

Well no it doesn't...it does in IE, and really old NN4! ALT is supposed
to display as text when the image resource is unavailable. For the
'Tooltip' modern browsers can (but are not obligated to) display with
the TITLE attribute.

<img src="myimage.jpg" alt="my image missing" title="The tooltip message">



>
> How to replicate this behaviour using a table cell instead?

<td title="Some tooltip message">Blah...


But as I said modern browsers do display TITLE as a tooltip but are not
obligated to, so your can put auxiliary info in the TITLE attribute but
I would not put *essential* info there!

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация