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