View Full Version : 'alt' bug in NS4.78?

08-27-2002, 08:48 AM
copy this img tag below (with no src to see the difference of the alternate text and the tooltip)

<img alt="X&amp;amp;&amp;lt;1">

The tooltip is supposed to display X&<1 just like the alternate text displayed, but it displays such that you can read it as 'X is less than or equal to 1'. It displays an underline instead of the ampersand symbol.

08-27-2002, 12:52 PM
just a whyyy® dont ya just a put® it as...
<img alt="X&<1">

08-27-2002, 04:40 PM
This is a total shot in the dark, but perhaps the ISO values will do you better

<img alt="X&#38;&#60;1">

08-27-2002, 05:42 PM
I also came across this issue during our the development of our department web site. NS 4.x simply doesn't display the &'s in ALT tags ... it sees the '&' as an indicator for underlining the following letter (some mumbo jumbo about a "hot key").

Unless the ampersand is part of your logo, your best bet is to use 'and' or '+' in its place.

EDIT: Link (http://lists.evolt.org/archive/Week-of-Mon-20010212/025549.html) to show that I'm not making it up. :p

08-27-2002, 09:23 PM
<img alt="X&&<1">
gets the tooltip to display the & in NS4 but then the alt text and IE shows both &&

08-28-2002, 03:31 AM
tnx for all your replies esp to jujubees and RoyW :)