apply form styles