|
|
 |
November 25th, 2006, 03:41 PM
|
#1
|
|
New Member
Join Date: Aug 2006
Location: Eugene, Oregon
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
alt tag in Firefox
How do I write the css code for alt tag so that it shows up in Firefox? The line of code below shows alt tag in IE just fine, however, nothing appears in Firefox:
<div align="center"><img src="../images/ruarkcherrydresser.jpg" width="480" height="366" alt="Cherry Dresser" ></div>
Thanks for any and all help.
|
|
|
November 25th, 2006, 04:50 PM
|
#2
|
|
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,307
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: alt tag in Firefox
I take it you are reffering to when you cursor over the image. And BTW, alt is an attribute, NOT a tag.
Well thats IE being IE. The purpose of the alt attribute is to provide some reference if the image does not display.
If you are looking for information about the image to display when the cursor is moved over it, then this is what the title attribute is for.
|
|
|
November 25th, 2006, 10:34 PM
|
#3
|
|
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,850
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: alt tag in Firefox
Yeah like Geoff said, I think you are looking for a title attribute, not an alt attribute...Good Luck!!
|
|
|
November 26th, 2006, 06:39 AM
|
#4
|
|
Elite Veteran
Join Date: May 2006
Location: Las Vegas
Posts: 3,784
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: alt tag in Firefox
No, in Firefox, the alt attribute is the one that should pop up. I don't really know why Safari only has the little tool-tip when the title tag is in use, but alt is required, title isn't.
|
|
|
November 26th, 2006, 06:53 AM
|
#5
|
|
New Member
Join Date: Jun 2006
Location: Sheffield, South Yorkshire, UK
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: alt tag in Firefox
the code below will work in "most" browsers:-
<div align="center"><img src="../images/ruarkcherrydresser.jpg" width="480" height="366" alt="Cherry Dresser" title="Cherry Dresser"/></div>
|
|
|
November 27th, 2006, 06:07 AM
|
#6
|
|
New Member
Join Date: Nov 2006
Location: harare zimbabwe
Age: 25
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: alt tag in Firefox
do me a favour, can
you sent me a msg explaining this codes <alt><c3><marquee>
|
|
|
November 27th, 2006, 06:37 AM
|
#7
|
|
New Member
Join Date: Jun 2006
Location: Sheffield, South Yorkshire, UK
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: alt tag in Firefox
Take a look at http://www.w3.org/MarkUp/
<alt> is not a tag, it's an attribute of the <img> tag.
<c3> is not valid markup, possibly meant to be <h3>.
<marquee> see:- http://www.htmlcodetutorial.com/_MARQUEE.html
|
|
|
November 30th, 2006, 12:04 PM
|
#8
|
|
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,081
Thanks: 0
Thanked 37 Times in 37 Posts
Rep Altering Power: 0
|
Re: alt tag in Firefox
As stated:
Alt stands for Alternate text which says what theimage is if for some reason it does not or cannot be displayed. Title is used to display a title for an object i.e. links in case they are not descriptive enough etc...
|
|
|
December 9th, 2006, 04:16 PM
|
#9
|
|
WebForumz Member
Join Date: Jun 2006
Location: Northern Ireland, United Kingdom
Age: 23
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: alt tag in Firefox
An alt attribute alone will not make a box pop up in Firefox. Firefox requires you to use the title attribute, so personally, everytime i'm using an image or even a link, I make the alt tag and then copy and past it again but change the second alt to a title.
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
Firefox Vs IE7 (CSS)
|
Monie |
HTML, XHTML and CSS |
9 |
September 19th, 2007 11:37 PM |
|
CSS & Firefox
|
Daniel |
HTML, XHTML and CSS |
7 |
April 3rd, 2007 11:01 AM |
|
Useful Firefox Add-ons
|
Antwan |
The Café |
19 |
February 21st, 2007 01:02 PM |
|
Need help regarding firefox vs. ie
|
james@thecultureofme |
HTML, XHTML and CSS |
5 |
June 2nd, 2006 11:32 AM |
|
IE ok, Firefox no way
|
lizarddoctor |
HTML, XHTML and CSS |
4 |
November 27th, 2005 08:35 PM |
|