Page 1 of 1

filtering elements with size of banners

Posted: Mon Sep 11, 2006 5:12 pm
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

Posted: Mon Sep 11, 2006 5:23 pm
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...

Posted: Mon Sep 11, 2006 5:43 pm
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?

Posted: Mon Sep 11, 2006 6:11 pm
by Wladimir Palant

Code: Select all

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