Question:

<img src="xx" ALT="blabla"> does not work on firefox

by  |  earlier

0 LIKES UnLike

ALT command (for images tooltip) does not work on Firefox.

pls help me

 Tags:

   Report

5 ANSWERS


  1. Hi!

    I have got solution for your problem. Try this code

    &quot;&lt;td align=&quot;center&quot;&gt;&lt;img src=&quot;XXXXX&quot; width=&quot;771&quot; height=&quot;187&quot; title=&quot;site title&quot; alt=&#039;XXXX&#039;/&gt;&lt;/td&gt;&quot;

    It will surely work as due to some vulnerabilities Firefox doesnot support alt text,  but it surely supports title text.You can go for it both in IE and Firefox, it will solve ur problem.

    All the best!!!


  2. Text in ALT is displayed when the image is not download.

    For Image Tooltip, you use TITLE instead.

    The format is

    &lt;img src=&quot;xx.jpg&quot; TITLE=&quot;blabla&quot;&gt;

  3. ALT works only in IE4, 5, 6, contrary to ALL other browsers.

    Use TITLE !

    So, always use BOTH:

    &lt;img src=&#039;xx&#039; alt = &#039;notice&#039; title = &#039;notice&#039; /&gt;

    &quot;ALT&quot; was meant to show a text IF the image is not visible, a W3C recommendation that IE never followed.

    &quot;TITLE&quot; is meant to show a text when hovering over the image.


  4. all html tags are supported in Internet firefox and netscap

    u must try with good efforts

  5. Actually, the alt attributes works as it SHOULD in Firefox - not in IE. The &quot;tooltip&quot; type behavior in IE is the WRONG treatment.

    The purpose of the alt attribute is to provide textual descriptions to be provided in place of image content for browsers that do not support images, for users who have images disabled, or for users with visual disabilities. IE has never properly used the alt attribute per the W3C standards. Firefox correctly ignores the alt attribute, when the image IS available to the browser. The W3C spec provides the title attribute as the means to give descriptive text to supplement the image content. If you provide both of these attributes, you&#039;ll get your desired effect. That is, Firefox will ignore the alt and give the additional info available in the title, and IE will do it it wrong but give the effect you&#039;re trying to achieve.

Question Stats

Latest activity: earlier.
This question has 5 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions