sandro27
06-29-2005, 09:43 PM
The alt attribute in the < img > tag doesn´t work in Firefox ?
Does anyone know why?
Cheers
Does anyone know why?
Cheers
|
Click to See Complete Forum and Search --> : alt sandro27 06-29-2005, 09:43 PM The alt attribute in the < img > tag doesn´t work in Firefox ? Does anyone know why? Cheers BonRouge 06-29-2005, 10:00 PM It does. I think you're just misunderstanding what it's for. Alt text is meant to replace an image if the image is unavailable for some reason. It works fine. What you're probably thinking is that it should show a tooltip whin you hover over the image like it does in IE. The fact is that IE does this wrong. The correct attribute for this is 'title' not 'alt'. Firefox gets it right. felgall 06-30-2005, 01:46 AM All browsers display a tooltip for the title attribute. All browsers display the alt attribute text if they can't display the image. Internet Explorer additionally treats the alt attribute the same as the title attribute. sandro27 06-30-2005, 06:33 AM Hi. Thanks for the tip. I didn't know that. I really thought the alt and and tile attributes were the same. All the best webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |