jQuery selector - style values
Posted
by kender
on Stack Overflow
See other posts from Stack Overflow
or by kender
Published on 2010-03-29T10:03:09Z
Indexed on
2010/03/29
10:13 UTC
Read the original article
Hit count: 164
I got a series of divs like this:
<div class="message" style="padding-left: 0px;">...</div>
<div class="message" style="padding-left: 20px;">...</div>
<div class="message" style="padding-left: 20px;">...</div>
<div class="message" style="padding-left: 40px;">...</div>
<div class="message" style="padding-left: 20px;">...</div>
And I would like to make a selector that would get me the divs with padding greater then 20px.
Would it be possible with just using jquery? Or I should modify my html tree and add some attribute that would distinguish those elemenents with high padding value?
© Stack Overflow or respective owner