Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

alt tags in Netscape 1

Status
Not open for further replies.

wharp

Programmer
Jul 9, 2003
27
US
I have a webpage and in IE, the alt tags for my images work fine, however in Netscape they do not work. What could I be missing that would cause this? Also, when I turn off images in Netscape they still load for this page only. I tried clearing my cache but it still loads the images. Is there some netscape specific code or something I don't know about?
 
Show the code - helps us help you.

There's always a better way. The fun is trying to find it!
 
The following is a sample img tag copied directly from my html document. It works in IE but not in NS or Opera.

If you need to see all the code I can either post it or email it to you.
<IMG src=&quot;IMAGES/Resource-Logo2.jpg&quot; alt=&quot;OCDD Banner&quot;>
 
Hi mate,

The ALT attribute is for providing text when an image is either loading or broken. IE also displays the text on mouseover.

If you want the text to appear on mouseover in NS etc, use the TITLE attribute.

Hope this helps

Wullie


The pessimist complains about the wind. The optimist expects it to change.
The leader adjusts the sails. - John Maxwell
 
Thanks, that does help. I haven't used NS in a while so I didn't know that it didn't also show alt text on hover. I removed the images and the alt is working fine!

On a separate subject, is there any reason not to use png image files?
 
Not all browser versions support PNG image format.

There's always a better way. The fun is trying to find it!
 
I've experience problems with pngs and IE. Mainly that sometimes the colours are off when displayed in IE (but fine in NS & Opera). However this problem only occurs occasionally and I use png's alot. I thing it is only pre IE4 etc that won't display them but I might be wrong

MrBelfry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top