LinuxQuestions.org
Review your favorite Linux distribution.
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, 03:47 PM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
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, 04:18 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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, 06:29 PM   #3
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 49
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, 09:52 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 126Reputation: 126
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:10 AM
Kernel Panic - Missing "initrd.img-2.6.8-2-686" in /boot MKSrivastava Debian 2 12-02-2005 04:09 PM
Firefox freezes at "Save", "Download" kjmorris Linux - Software 4 10-27-2004 03:44 PM
"Juk / Noatun" Cannot Display Non-English Tags staul Linux - Software 0 03-15-2004 01:04 AM
the site's img tags could use title and/or alt text akaBeaVis LQ Suggestions & Feedback 5 08-03-2003 04:21 PM

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

All times are GMT -5. The time now is 07:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration