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