[css-d] Hide labeled link [a rel]
Hi all! I hope this mailing list will help. I have the following class which style many different links. p class=postmetaDate a href=link title=Visualizza tutti gli articoli in Mostra Tutti rel=category tagMostra Tutti/a and tag: a href=link_i1 rel=taglink_i1/a, a href=link_i2 rel=taglink_i2/a, a href=link title=Modifica articoloModifica/a/p I want to hide all the links labeled rel=tag, maintaining visibility for the rest of the content. Is it possible? How to do that via CSS ? Thank you so much!! __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Hide labeled link [a rel]
I want to hide all the links labeled rel=tag, maintaining visibility for the rest of the content. In theory, you could use this attribute selector: a[rel~=tag]{display:none} In practice, IE lte 6 do not support the attribute selector. You could use a javascript solution for the older IEs or simply progressively enhance the site for browsers that support the attribute selector. -- !-- ! Bill Brown macnim...@gmail.com ! Web Developologist, WebDevelopedia.com -- __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/