homepage Welcome to WebmasterWorld Guest from 54.167.249.155
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Browsers / Opera Browser Usage and Support
Forum Library, Charter, Moderator: open

Opera Browser Usage and Support Forum

    
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!

HTH

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Browsers / Opera Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved