I checked many solutions and anyone wasn't working good.
So I tried a small trick and it works:
tfoot with style:position: fixed; bottom: 0px;
is placed at the bottom of last page, but if footer is too high it is overlapped by content of table.
tfoot with only: display: table-footer-group;
isn't overlapped, but is not on the bottom of last page...
Let's put two tfoot:
TFOOT.placer {_x000D_
display: table-footer-group;_x000D_
height: 130px;_x000D_
}_x000D_
_x000D_
TFOOT.contenter {_x000D_
display: table-footer-group;_x000D_
position: fixed;_x000D_
bottom: 0px; _x000D_
height: 130px;_x000D_
}
_x000D_
<TFOOT class='placer'> _x000D_
<TR>_x000D_
<TD>_x000D_
<!-- empty here_x000D_
-->_x000D_
</TD>_x000D_
</TR>_x000D_
</TFOOT> _x000D_
<TFOOT class='contenter'> _x000D_
<TR>_x000D_
<TD>_x000D_
your long text or high image here_x000D_
</TD>_x000D_
</TR>_x000D_
</TFOOT>
_x000D_
One reserves place on non-last pages, second puts in your accual footer.