473,511 Members | 15,197 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HTML image alternate tag is not displaying in FF

ak1dnar
1,584 Recognized Expert Top Contributor
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
2 1603
merseyside
48 New Member
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
1,584 Recognized Expert Top Contributor
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

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

Similar topics

2
4138
by: Tjerk | last post by:
Hello all, I have the script below to change an image depending on the date upto january it worked fine but then it just stopped working does anybody have an idea how I can make it work again or...
3
2709
by: DOK | last post by:
I'm creating an ad for eBay and want to keep the page condensed. I have 6 images - different views of an antique lap steel guitar - that need to show superb detail. I have cropped the images to...
8
10627
by: Lian | last post by:
Hi all, It is a newbie's question about html tag "img". The attributes "title" and "alt" for "img" seems having the same function. So what is the main difference between them? Can i use them at...
10
3057
by: Safalra | last post by:
When a poster in a forum I frequent said they were beginning to learn HTML, I thought I should direct them to a good HTML tutorial so that they wouldn't start using <blink> and the like....
8
1930
by: David C. Stone | last post by:
I'm stuck trying to validate an html 4.01 page that uses an image map. I copied the second client-side example from here: <http://www.w3.org/TR/html401/struct/objects.html#h-13.6> and...
1
2678
by: rascalking | last post by:
Hello, So I've read many forums that explained how to get an image out of SQL Server database and display it. I used an alternate .aspx page to retrieve the image and write it back as binary...
2
4668
by: Aneesh Pulukkul[MCSD.Net] | last post by:
Hi, I have a HTML page and associated images. I need to send the HTML as email -the email should also display the images at respective places. So am sending the content of HTML file as...
7
3590
by: imtmub | last post by:
I have a page, Head tag Contains many Scripts and style sheet for Menu and Page. This code working fine and displaying menus and page as i wanted. Check this page for reference....
2
3038
by: sateeshchandrasanga | last post by:
Hi All, My HTML code is working fine in Firefox.But its not displaying any thing in IE.Can you help me in this problem.And in Google crown its displaying but not properly. ...
0
7237
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7137
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7349
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7417
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7074
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7506
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4734
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3219
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
445
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.