Function for getting real css style on element