LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-08-2005, 02:47 PM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
Firefox and the "alt" in img-tags


I am just wondering if this is something that Firefox does not support or if there is some other problem but the alt-text in the img-tags does not show in Firefox. Back when I was running Windows I remember that I noticed that it worked with IE but not with Mozilla.

If I was not clear enough I mean the text "does not show" in the following HTML:
Code:
<img src="pic.jpg" alt="does not show">
 
Old 03-08-2005, 03:18 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
The alt tag is only supposed to show when the image can't be shown. If you want text to show when you hover then use a title tag:
<img src="image.jpg" alt="Your browser does not support images" title="Stop hovering over my image">
 
Old 03-08-2005, 05:29 PM   #3
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 50
Quote:
Originally posted by david_ross
The alt tag is only supposed to show when the image can't be shown. If you want text to show when you hover then use a title tag:
<img src="image.jpg" alt="Your browser does not support images" title="Stop hovering over my image">
Thanks for that information. Then, I am sorry that alot of people that creates pages does not know that since many of them uses the alt-tag to view information about something (in this case it was a product I am ordering and the alt showed the date when it should be in stack). But maybe these people will learn how to improve their sites when Firefox gets more popular. We can only hope, right?

Happy birthday, btw.
 
Old 03-08-2005, 08:52 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
It does bother me when nobody designs websites to work to standards: instead they design to IE. Oh well. If it doesn't work with FF, I probably don't need it. (Except the pizzahut.com ordering site... mmm)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where can I find "boot.img" to copy to my diskette? zahrul Linux - Newbie 9 01-02-2010 04:10 AM
Kernel Panic - Missing "initrd.img-2.6.8-2-686" in /boot MKSrivastava Debian 2 12-02-2005 03:09 PM
Firefox freezes at "Save", "Download" kjmorris Linux - Software 4 10-27-2004 02:44 PM
"Juk / Noatun" Cannot Display Non-English Tags staul Linux - Software 0 03-15-2004 12:04 AM
the site's img tags could use title and/or alt text akaBeaVis LQ Suggestions & Feedback 5 08-03-2003 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration