Why does the form resize from preview to web page?