Form layout not rendered properly when dynamic table is present in the form template.
If the table in form grows based on number of rows in data source xml then the controls following the table getting overlapped on the table.
To explain the problem created sample XDP form with two text fields in master page and two tables in content area.
We have followed the guidelines mentioned in some of the FAQs, included each table in subforms and set initial count 1 for tables.
To render the XDP as HTML, the server options configured as give below.
And used the below URL for HTML preview