Removing a specific <p> without 'collateral damage'

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Genericus

Removing a specific <p> without 'collateral damage'

Post by Genericus »

Is there any way to do this if the <p> isn't defined in any specific way, without 'taking out' everything in a <p> tag on the page? There has to be...
LorenzoC

Re: Removing a specific <p> without 'collateral damage'

Post by LorenzoC »

Yes, you can follow the page structure, like adblockplus.org##DIV > UL + H3 + P
Of course it is not optimal.
Ares2
Posts: 1275
Joined: Fri Feb 15, 2008 12:47 pm

Re: Removing a specific <p> without 'collateral damage'

Post by Ares2 »

FYI: You can use the advanced view of the Element Hiding Helper extension to easily create such rules.

And to get a full explanation of the possiblities of CSS selectors, you might want to read:

http://www.w3.org/TR/css3-selectors/
https://developer.mozilla.org/en/CSS_Re ... #Selectors
https://developer.mozilla.org/en/Writing_Efficient_CSS
Locked