filtering elements with size of banners

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

filtering elements with size of banners

Post by henrik »

hi,
i'm trying to hide elements with the size of banners. i have tried the following filters, but none of them worked:

Code: Select all

#*(width=468px)(height=60px)

Code: Select all

#*(width=468)(height=60)

Code: Select all

#table(width=468px)(height=60px)

Code: Select all

#table(width=468)(height=60)
any hint?

greetings, henrik
henrik

Post by henrik »

ah,

i just found the problem. the size attributes are css in a style attribute. i think, i have to use css selectors...
henrik

Post by henrik »

the tag looks like this:

Code: Select all

<table style="margin-bottom: 20px; width: 468px; height: 60px;" align="center" border="0" cellpadding="0" cellspacing="0">
my current filter:

Code: Select all

##*[style="margin-bottom: 20px; width: 468px; height: 60px;"]
filters this element, but i would prefer something like this:

Code: Select all

##*[width="468"][height="60"]
is there any possibility to do that?
Wladimir Palant

Post by Wladimir Palant »

Code: Select all

#*(style*=width: 468px)(style*=height: 60px)
I don't think you can do more here.
Locked