Trying to create a form with fields laid out like this: ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --------- --------- --------- --------- i.e. x rows with 4 columns, then just 2 columns for the last two entries. My current approach is something like this: but that doesn't work too well, as it distorts the previous lines instead of merging columns in the main table using colspan whatever. i.e. ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---------- ----------- ---------- ----------- Using myfaces, if that makes any difference. Suggestions?