This:
<div style="display: table; width: 100%">
<form>
<div style="display: table-row; width: 100%">
</div>
</form>
</div>
will NOT expand the 'table' to 100%. Because the form tag is in the way. Put the form tag outside, encompassing the 'table' i o t make it expand to 100%.