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