Check styles from an element