Issues with conversion of form and CSS