...

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



glenngv
08-27-2002, 09: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.

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

beetle
08-27-2002, 05: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">

jujubees
08-27-2002, 06: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

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

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum