More information about the Underscore mailing list

[_] jQuery mystery

Ray Brooks ray.userinterface at
Tue Dec 15 15:22:30 GMT 2009

2009/12/15 s'unya <sunya.dickman at>:
> Hi [_],
> Little Javascript strangeness on all browsers that I have checked. I am
> using jQuery.css to set an a tag that contains an image to display: none,
> which it does admirably except for one element, which does become
> display:none, but the alt tag of the img child is visible... If I set the a
> tag css to visibility:hidden, it hides the alt tag (but makes a mess in some
> browsers)... if I then set it to display:none, it re-displays the alt tag.
> Anybody come across this before/ know why it might be happening?
> I apologise for this site before hand (been seen before here). if you click
> on any of the squares except the top right, it works fine, but top right
> shows some text (alt text) above the iframe.
> link:
> Thanks for any help.
> --
>                     o
>           o                 o
>               O   O   O
>     o  o   O s´unya O   o  o
> --
> underscore_ list info/archive ->

why don't you just use the hide() method?