How can I make this form display correctly on Safari?