Sorry but on hover,  IE6 will show "this is a dog" and other browsers will
show "oh no it isn't"
If your tooltips are really that critical, use the YUI tooltip javascript to
get cross-browser compatibility to display the title attribute. You can also
style them. http://developer.yahoo.com/yui/container/tooltip/

You really shouldn't depend on tooltips for content. Think of them as an
added element on objects whose purpose or action is not immediately obvious.
Here's a better usage to let users know they are leaving your site. It's not
the only way of doing this, but an example. <a href="http://paris.org";
title="this will take you to the Paris.org web site"><img src="paris.jpg"
alt="city of paris"/></a>

Ted

-----Original Message-----
 

Jason Ray wrote:
> The information in the alt attribute will only display when the image is 
> not available - [snip]
> 
> The information in the title attribute will display when the pointer 
> hovers over the object or image. 

Just to confuse the issue, as well as clarify it, this example:

<img src="../../sitegraphics/dogandlead.gif" alt="this is a dog" />

WILL show the message 'this is a dog' when hovered in IE, even when the 
image is present, whereas this one:

<img src="../../sitegraphics/dogandlead.gif" alt="this is a dog" 
title="oh no it isn't!"/>

Will show "oh no it isn't!" on hover in all browsers (well, common ones 
anyway) and only display the alt content when the image is missing. IN 
other words, title takes preference over alt, so far as display on hover 
is concerned.

That means (to me) that it's safer to do both.

Bob

 




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to