Welcome to WebmasterWorld Guest from 54.158.28.10

Forum Moderators: open

Message Too Old, No Replies

Need help IE vs Opera!

Alt tag in Opera?

     

asterix76

2:26 pm on May 12, 2005 (gmt 0)

Inactive Member
Account Expired

 
 


Hello, i have a problem. I have a picture on my Website. If i move with the mouse over the image, a small desccription is shown due to the alt-tag.<alt="description"> This happens with the IE,

but if i use the Opera, the description is replaced by the url of the image.

And the question now; How can I change this?

THX for the answers, asterix76

3:54 pm on May 12, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


Try using the title attribute. IE's behavior is not what the W3C recommends for alt atributes, so you don't see it on other browsers.
5:26 pm on May 12, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member blobfisk is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 25, 2002
posts:3185
votes: 0


Welcome to WebmasterWorld, asterix76!

The compliant (cross browser) attribute that you need to use it title. This will give you the behaviour that you are looking for!

HTH

9:25 pm on May 12, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 9, 2003
posts:1908
votes: 0


The alternate text is meant to describe the image in cases where the image itself doesn't display. The title serves a slightly different purpose, sort of a caption to the image or providing supplementary information. I generally use both; the alt attribute for accessibility and the title attribute for the tooltips.