At 04:15 PM 5/17/2005, Visconte, Marc (Contractor) wrote:
Short version:  IS there a Selector construction that would allow me to
affect a parent element based upon a contained (child) element?  I want to
DISPLAY:NONE for a whole table row <TR>, if any of the cells have the STRIKE
tag internally.  I want to affect the PARENT of the child, not the other way
around.

Short answer: no.

As far as I know, you can't do this today with CSS.

You could do it easily with javascript, however, but of course you'd have to be able to add a <script> tag to the header or some code to an existing script file.

If you feel it's unethical to modify the existing ASP code without permission, why not get permission from the developer to do so? Adding a class name to a table row would surely be an inoffensive edit.

Regards,
Paul



______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to