Don't use the automatically generated layout - that creates the form using a table. Either use a custom layout or use a alternative form. If you use an alternative form, you have to select it in the web part.
When you create the alternative form or custom layout, you would create the entire layout how you want:
<div class="something">
$$input:FieldName$$
</div>