Sent by George Adders on 11 May 2008 08:08
Hello,
I need to get rid of a table row from dynamically generated content
that's outside of my control. Is this possible? (I cannot share the
link because the site is invitation-only and requires an account).
<tr>
<td><img src="red.gif"></td>
<td>Miscellaneous text</td>
</tr>
Is there a way to select an element based on the attribute of a
descendant tag? Something like tr(img[src="red.gif"])
Chances are there won't be a parent selector any time soon, right?
tr < td < img[src="red.gif"] { display: none !important }
Is there any other way to select the tr element in the above example,
considering it has no distinguishing properties apart from the src
attribute of the img descendant, and that it's never in the same place
in the table twice? Custom vendor implementations would be fine.
I would appreciate any replies, even if to say it is not possible.
Thank you in advance.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/