I would need more 'above' code. Then it could be something like:
##[more above code] + table:first-child + table
Is there somewhere we can see this?
Hiding table by cell content
The ad is the second table only in the example I put in. It could be in any place, surrounded by the good tables. The only way to tell this is the ad is by looking inside it.rick752 wrote:I would need more 'above' code. Then it could be something like:
##[more above code] + table:first-child + table
Is there somewhere we can see this?
I can't do even that.rick752 wrote:Then the answer is "no". The only thing you could do would be to hide both td's in your example and hope that their removal will collapse the table space.

If the first child td is specific, use:
.... to remove the second child of the same tr
Code: Select all
##td[class="ad"]:first-child + td