IE handles the ALT and TITLE attributes more sensibly than you might think.
It displays the ALT text (if available) when you hover your mouse over it only if there isn't a TITLE attribute defined (even an empty one).
Try this code:-
<HTML> <HEAD> <TITLE>Image Attribute Test</TITLE> </HEAD> <BODY> <P> <IMG WIDTH="50" HEIGHT="50" SRC="img.gif" ALT="Alt" TITLE="Title"><BR> <IMG WIDTH="50" HEIGHT="50" SRC="img.gif" ALT="" TITLE="Title"><BR> <IMG WIDTH="50" HEIGHT="50" SRC="img.gif" ALT="Alt" TITLE=""><BR> <IMG WIDTH="50" HEIGHT="50" SRC="img.gif" TITLE="Title"><BR> <IMG WIDTH="50" HEIGHT="50" SRC="img.gif" ALT="Alt"><BR> <IMG WIDTH="50" HEIGHT="50" SRC="img.gif"> </P> </BODY> </HTML>
It helps if img.gif doesn't exist as it makes it more obvious what happens with the ALT text.
__________
"Every program has at least one bug and can be shortened by at least one instruction -- from which, by induction, one can deduce that every program can be reduced to one instruction which doesn't work." -- (Author Unknown)
In reply to Re: Re: Monk images at the top of the page (it's an attribute, not a tag)
by Wysardry
in thread Monk images at the top of the page
by castaway
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |