refine form styles to work in mozilla