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