Welcome to WebmasterWorld Guest from 54.221.30.139

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)

10+ Year Member



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

tedster

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

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



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.

BlobFisk

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

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



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

MatthewHSE

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

WebmasterWorld Senior Member 10+ Year Member



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month