Forum Moderators: open

Message Too Old, No Replies

alt="text"

         

Sothpaw

1:04 pm on Jun 22, 2007 (gmt 0)

10+ Year Member



when will Firefox support the alt's?
i have a series of images that i want the discriptive text to be viewed when hovering over it with the alt="text"
IE supports it just fine.
is this something that is going to be phased out (depreciated)
or will Firefox support this sometime in the future?

encyclo

1:58 pm on Jun 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Firefox supports
alt
just fine, just that is doesn't do what you think it does. ;) The
alt
attribute is for the text which would replace the image when the latter is absent or not viewable by the user, nothing in the specification mentions a mouseover effect.

You can use the

title
attribute in addition to the
alt
attribute to obtain the desired effect.

See also this concurrent thread: [webmasterworld.com...]

Fotiman

3:29 pm on Jun 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Just wanted to repeat what encyclo said. To show these little "tooltips", what you want is the title attribute, not the alt attribute. The alt attribute is the alternative text that will be displayed when images are not available (for example, users with images disabled or using a browser that does not support images like Lynx).

Sothpaw

3:36 pm on Jun 22, 2007 (gmt 0)

10+ Year Member



thanks a ton.
question answered and valuable info learned.