Unlike other browsers, FoxFire does not display the "alternate" name for images. Why is this?
There are no details, when the mouse cursor is placed over a displayed image, the "alt" name is not displayed. Other browsers do display the "alt" name. Is this a problem with FoxFire or is it designed that way?
所有回复 (4)
Firefox is the name. Foxfire is a bio-luminescent fungus.
http://en.wikipedia.org/wiki/Foxfire_(bioluminescence)
The website probably isn't using that tag correctly.
http://kb.mozillazine.org/Image_tooltips_do_not_work
checked http://en.wikipedia.org/wiki/Foxfire_(bioluminescence) as mentioned above and no alt info was given. This is because the person who placed the image did not supply this information and nothing to do with Firefox.
@Toad-Hall
That was a little of my perverted humor for the "owner" who called it FoxFire instead of Firefox, the correct name.
That image does have an "Alt" for when the image can't be displayed, but it doesn't have the "Title" tag which is needed for displaying a tooltip or image description when the image is hovered with the cursor, per W3C specs. Mozilla does it by the specs, many other browsers don't.
The Alt attribute isn't meant to show as a tooltip on hover.
The Alt attribute is meant to show if the image isn't or can't be displayed.
The title attribute is meant to show if you hover an image or link.
If there is no title attribute, but there is an alt attribute then IE will show the alt attribute as a tooltip.
Firefox doesn't do that, so if the title attribute is missing then you do not see a tooltip if you hover an image or link.