if div style equals something do something jquery code example Example: jquey check css style $('#yourElement').css('position') == 'absolute'