Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / alt= text shows only in header in Firefox

alt= text shows only in header in Firefox

Locked

Views: 1,243

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Jul 2008, 1:15 PM
#1
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

alt= text shows only in header in Firefox

In FF, if you mouseover the header you'll see the alt text. Just below the header on the main page is a color pallete. Each color name has been added as alt text (Ex: alt="Black Diamond (Grey) on Gold Leaf"). In FF the alt text is not visible.

In IE the alt text does appear as desired. Any idea how I can address this?

Thanks!

26 Jul 2008, 1:26 PM
#2
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: alt= text shows only in header in Firefox

Yeah, don't use IE. :smartalec:

Your situation is that your Header is using the TITLE attribute with the same text as the ALT attribute.

alt="Italian Glass Connection: Specializing in sized-to-order beaded jewelry featuring handmade Murano glass beads"

title=" Italian Glass Connection: Specializing in sized-to-order beaded jewelry featuring handmade Murano glass beads "

You would need to do the same for the other images if want text to show in other Browsers. IE is a bit dumb because the ALT text is supposed to show if there is no image; but IE shows it anyway. Confusing at best and incorrect as per Web Standards.

26 Jul 2008, 1:27 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: alt= text shows only in header in Firefox

As I understand it, FF obeys the standards, which say that 'alt' text is used for page readers for the blind, etc.

What you want for those images is 'title' which will display in both IE and FF.

Identical answer brought to you by the Department of Redundancy Department.

26 Jul 2008, 1:38 PM
#4
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: alt= text shows only in header in Firefox

Website Rob:

Yeah, don't use IE. :smartalec:

Your situation is that your Header is using the TITLE attribute with the same text as the ALT attribute.

alt="Italian Glass Connection: Specializing in sized-to-order beaded jewelry featuring handmade Murano glass beads"

title=" Italian Glass Connection: Specializing in sized-to-order beaded jewelry featuring handmade Murano glass beads "

You would need to do the same for the other images if want text to show in other Browsers. IE is a bit dumb because the ALT text is supposed to show if there is no image; but IE shows it anyway. Confusing at best and incorrect as per Web Standards.

Thanks you two - That should take care of it. As for IE; It doesn't really matter if I use it or not - What matters is that 75% of the people visiting my sites use it. :smartalec: