mozilla firefox - image alternative text
Posted: Thu Jun 02, 2005 5:01 pm
How to make up mozilla firefox browser to show up alternative text while mouse over image like IE does?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
<img src="e;image.gif"e; title="e;An image"e; alt="e;Display me if image.gif is missing"e;>ddragas wrote:how do you "pop-up" this alt text in mozilla like Internet explorers does?
Try *reading*.onion2k wrote:By putting the text in the title attribute as the HTML spec tells you to
Code: Select all
<img title="this is an image" src="/myImagePath.jpg" />Code: Select all
Now, when the mouse hovers over the image, 'this is an image' will show as a tooltip.