> ... a spacer image should have the alt attribute but with no
>   description because it is a meaningless image. So the proper tag is
>    <img scr="spacer.gif" height="1px" width="50px" alt=" ">

there is a slight difference between a null or empty attribute (NOT tag -- i
feel like i'm swimming against the current, though) and one that contains a
space, as in the example above

some browsers (netscape 4+ i think) will show no tooltip for the empty alt,
but *will* show a tooltip if there's a space, although of course there's
nothing in it, it's just the tooltip box

nevertheless, it could be disconcerting to get a blank tooltip box when you
happen to mouse over a spacer gif

which shouldn't really matter, since tooltips aren't really what the alt
attribute is for anyway, but as a good web developer, you want to minimize
the number of whoopsies your code produces

better to use an empty string, not a single space

the good news is that apparently aural browsers ignore both the empty string
alt and one with a space


rudy


____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to