Welcome to WebmasterWorld Guest from 188.8.131.52 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Subscribe and Support WebmasterWorld
Need help IE vs Opera! Alt tag in Opera? asterix76 msg:1587113 2:26 pm on May 12, 2005 (gmt 0) 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 msg:1587114 3:54 pm on May 12, 2005 (gmt 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. BlobFisk msg:1587115 5:26 pm on May 12, 2005 (gmt 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!
MatthewHSE msg:1587116 9:25 pm on May 12, 2005 (gmt 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.