467,915 Members | 1,237 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,915 developers. It's quick & easy.

HTML image alternate tag is not displaying in FF

ak1dnar
Expert 1GB
Hi, need a favor on this HTML element.
I am using this tag for for my web Application to print some buttons along with some products.
[HTML]<a href="javascript:get_id(1001)">
<img width="21" height="22" border="0" alt="Add Inquries" src="images_store/b_iqn.jpg"/>
</a>[/HTML]

problem is the alternate message is displaying in IE but not in FF.
i there any way to display this alt in FF, and what is the reason for Not displaying it in FF.
Mar 14 '07 #1
  • viewed: 1399
Share:
2 Replies
Try adding the title attribute too with the same text. Firefox follows the specifications and only uses the alt when an image cannot be displayed. IE will use the title attribute as the "tool tip" before using the alt attribute.

[HTML]<a href="javascript:get_id(1001)">
<img width="21" height="22" border="0" alt="Add Inquries" title="Add Inquries" src="images_store/b_iqn.jpg"/>
</a>[/HTML]
Mar 14 '07 #2
ak1dnar
Expert 1GB
Try adding the title attribute too with the same text. Firefox follows the specifications and only uses the alt when an image cannot be displayed. IE will use the title attribute as the "tool tip" before using the alt attribute.

[HTML]<a href="javascript:get_id(1001)">
<img width="21" height="22" border="0" alt="Add Inquries" title="Add Inquries" src="images_store/b_iqn.jpg"/>
</a>[/HTML]
Thanks.Its working. ;)
Mar 15 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Tjerk | last post: by
10 posts views Thread by Safalra | last post: by
8 posts views Thread by David C. Stone | last post: by
2 posts views Thread by Aneesh Pulukkul[MCSD.Net] | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.