fit a form in a div with fixed size