validate styling