| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Alt Text Not Appearing in Firefox | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Hi All,
This could be a simple solution, but I can't for the life of me figure it out! For each product, I have changed the "extra fields" module to display icons, rather than text. This is in IE8, where the alt for the image appears. (I need the 'alt' as a quick-reference for what the icon means). http://i16.photobucket.com/albums/b49/BeanJardo/Work/150iealt.jpg However, in Firefox & Safari, it doesn't appear? Firefox displays all other 'alt' text on the site, just not this one!?! This is the image reference: <img src="skin1/images/{$v.field_value}.png" width="40" height="40" alt="{$v.field_value}" /> Many thanks, JeanB ![]()
__________________
4.2.3 X-Cart Gold BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers -------[installed]----------------------[installed]--------------[installed]----[installed]-- 5: in development ![]() |
|||||||||
#2
|
|||||||
|
|||||||
![]() It's not displaying alt text in firefox because firefox is compliant with standards. For it appearing sometimes there is very likely a reason but I am unable to have it done.
Quote:
See here: http://www.w3.org/TR/html4/struct/objects.html You should rather opt for javascript or css tooltips. http://trentrichardson.com/examples/csstooltips/ |
|||||||
#3
|
|||||||
|
|||||||
![]() Try using the title="" attribute in addition to the alt="" attribute.
__________________
x-cart 4.2.3 & 4.6.0 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Tal - Quite an interesting point. I might look into the tool-tip idea. Thanks.
Regs - Many thanks for the "title" suggestion. Works like a charm! ![]()
__________________
4.2.3 X-Cart Gold BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers -------[installed]----------------------[installed]--------------[installed]----[installed]-- 5: in development ![]() |
|||||||||
#5
|
|||||||
|
|||||||
![]() Alt text is not supposed to show, like you displayed. You were thinking it was broken in FireFox because it didn't display, where as in reality it was broken in Internet Exploder because it WAS displaying, LOL. That's what makes messing with IE so difficult sometimes
![]() Tal showed the quote about how the Alt tag is supposed to work, and if you read further on the same link he provided it explains the Title tag: Quote:
Don't you love IE for making things confusing ![]()
__________________
Jason Diehl Finding Cures for Your Online Headaches: http://www.internetmedicineman.com/ |
|||||||
#6
|
|||||||||
|
|||||||||
![]() MS is too big to obey standards - they make their own standards
![]()
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#7
|
|||||||
|
|||||||
![]() The reality is that everyone should be using alt AND title attributes on their images that have meaning.
__________________
x-cart 4.2.3 & 4.6.0 |
|||||||
|
|||
X-Cart forums © 2001-2020
|