Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
FF <img> tag alt atribute??
Old 06-26-2007, 04:19 PM FF <img> tag alt atribute??
Rusalka's Avatar
Experienced Talker

Posts: 36
Name: Greta
Location: Winchestertonfieldville
Trades: 0
I've been placing an alt attribute into my <img> tags, as the title says, and it doesn't seem to do anything in Fire Fox. I don't think it's another customizable Fire Fox thing like the post I made last week (at least I hope it's not! ^_^; ).

Does Fire Fox not support this? What's up?
Rusalka is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-26-2007, 04:30 PM Re: FF <img> tag alt atribute??
Super Talker

Posts: 122
Name: Nate
Location: Orlando, FL
Trades: 0
Yeah FF doesn't display anything for Alt tags. instead, you have to use a 'title' tag

<img src="image.jpg" title="Text Goes Here" />

if you have a lot of images, just use a program like Dreamweaver and do a find and replace for 'alt' and 'title'

Last edited by NateL; 06-26-2007 at 04:59 PM..
NateL is offline
Reply With Quote
View Public Profile
 
Old 06-26-2007, 04:51 PM Re: FF <img> tag alt atribute??
Rusalka's Avatar
Experienced Talker

Posts: 36
Name: Greta
Location: Winchestertonfieldville
Trades: 0
Cool, thanks just one more thing.
Does "title" work for other browsers or do I need to use both "alt" and "title"?

Edit:
Well I suppose I could just test it and see, duh!
Rusalka is offline
Reply With Quote
View Public Profile
 
Old 06-26-2007, 04:54 PM Re: FF <img> tag alt atribute??
Rusalka's Avatar
Experienced Talker

Posts: 36
Name: Greta
Location: Winchestertonfieldville
Trades: 0
It does work, marvelous!
Rusalka is offline
Reply With Quote
View Public Profile
 
Old 06-26-2007, 04:59 PM Re: FF <img> tag alt atribute??
Super Talker

Posts: 122
Name: Nate
Location: Orlando, FL
Trades: 0
in IE, Title will overwrite Alt...i don't know if this is true for Opera or Safari...if you want to be on the safe side, then you could add both
NateL is offline
Reply With Quote
View Public Profile
 
Old 06-26-2007, 07:55 PM Re: FF <img> tag alt atribute??
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
However, it is still recommended that you use the alt attribute for accessibility reasons and for validation reasons if you're using certain doctypes.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-26-2007, 09:11 PM Re: FF <img> tag alt atribute??
Super Talker

Posts: 122
Name: Nate
Location: Orlando, FL
Trades: 0
Quote:
Originally Posted by LadynRed View Post
However, it is still recommended that you use the alt attribute for accessibility reasons and for validation reasons if you're using certain doctypes.
True. thank you for pointing that out
NateL is offline
Reply With Quote
View Public Profile
 
Old 06-26-2007, 11:01 PM Re: FF <img> tag alt atribute??
Riane's Avatar
Super Talker

Latest Blog Post:
Happy Birthday, Steve!
Posts: 147
Name: Jordan
Location: Chicago, IL
Trades: 0
Just to touch up on what the others mentioned you, you can still combine the alt and title attribute to your image, and not have to worry about any quirks or one canceling the other out.

Code:
<img src="http://domain.com/image.png" alt="image" title="I made this image!" />
ALT is used in lieu of an image when it is not available. So if you link a picture of a cat on your website, and use the ALT attribute "cat," it will display the image if it's available, and if not it will display 'cat.'

Title is more so for a description when you hover over the image, or sometimes will coincide with another script (eg: Lightbox.)
Riane is offline
Reply With Quote
View Public Profile Visit Riane's homepage!
 
Old 06-27-2007, 12:15 AM Re: FF <img> tag alt atribute??
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
Quote:
Originally Posted by Rusalka View Post
I've been placing an alt attribute into my <img> tags, as the title says, and it doesn't seem to do anything in Fire Fox.
It's not that it doesn't do anything, or isn't supported; while the image is downloading, FireFox will display the alt text, and if it's still there when the page finishes, that means you mistyped a URL.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 06-27-2007, 11:57 AM Re: FF <img> tag alt atribute??
Riane's Avatar
Super Talker

Latest Blog Post:
Happy Birthday, Steve!
Posts: 147
Name: Jordan
Location: Chicago, IL
Trades: 0
Quote:
Originally Posted by ForrestCroce View Post
It's not that it doesn't do anything, or isn't supported; while the image is downloading, FireFox will display the alt text, and if it's still there when the page finishes, that means you mistyped a URL.
It doesn't mean that you mistyped a URL. It could be a number of reasons:
1.) Wrong URL to the image
2.) Image is not responding (eg: the website is done, etc.)
3.) Just doesn't exist
4.) Et al
Riane is offline
Reply With Quote
View Public Profile Visit Riane's homepage!
 
Reply     « Reply to FF <img> tag alt atribute??
 

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.48997 seconds with 12 queries