FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Gallery, "alt" tags and Firefox

 


Dean_The_Great
I've recently put up my website here, and I'm having some issues with Firefox.

Issue #1: None of my "alt" tags on images seem to appear on Firefox, but they work just fine on IE.

Issue #2: My XML driven gallery doesn't work on Firefox either, but again perfectly on IE.

Are these just deficiencies for Firefox?

Is there a way to fix them?[/url]
alalex
about the alt tags, dont worry about it, i have the same problem that you, and it seems to be caused by firefox, although some sites have them-.-. Sad

about your xml gallery, it is probably a problem of browser compatibility, you shoud check somewhere that your code is accepted by both firefox and IE..
have luck! Wink
Ranfaroth
alt attributes are used when the browser can't display the image.
As Firefox support your images format, it displays the images, and don't use the alt attribute.
There's actually no problem...

For your gallery, it seems to use Flash, so there must be a problem with the Adobe plugin...
welshsteve
The best way to test your alt tags in Firefox is to install the Web Developer Toolbar extension. This will allow you disable images and see your ALT text.
©Wolfie
Dean_The_Great wrote:
I've recently put up my website here, and I'm having some issues with Firefox.

Issue #1: None of my "alt" tags on images seem to appear on Firefox, but they work just fine on IE.

Issue #2: My XML driven gallery doesn't work on Firefox either, but again perfectly on IE.

Are these just deficiencies for Firefox?

Is there a way to fix them?[/url]


Alt in your images in Mozilla Firefox? Use the this:
Code:
<img src="testing.png" alt="alternative text" [b]title="title"[/b]>


It probably works.
Stubru Freak
Dean_The_Great wrote:
I've recently put up my website here, and I'm having some issues with Firefox.

Issue #1: None of my "alt" tags on images seem to appear on Firefox, but they work just fine on IE.

Issue #2: My XML driven gallery doesn't work on Firefox either, but again perfectly on IE.

Are these just deficiencies for Firefox?

Is there a way to fix them?


I'll summarise what everyone said about alt text:
Alt text is designed to be displayed when your image can't be shown for some reason. Internet Explorer decided to display it in a tooltip. Other browsers don't display it in a tooltip.
There is however an attribute made especially to make a tooltip: title. It is fully browser-compatible, unlike alt.
This code, that could be used for an image of a special letter A, will display 'A' when the image can't be loaded, and will display the tooltip 'The letter A':
Code:
<img src="a.png" alt="A" title="The letter A">

It will work as expected in both Firefox and IE. You're encouraged to always use this code for tooltips, as it enables you to also provide an alternative for blind people.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.