Also check for errors in style attributes