Is there a way to position a table at the bottom o...
# advancedpdf
m
Is there a way to position a table at the bottom of its container? I have a div wrapping all the body content, and I want one table to sit at the very bottom of this div, regardless of how much content there is above it. I’ve tried a bunch of things I found online but none of them have worked so far
s
Ongoing issue. Making the table always a static full page height with line items "filling up" the table and a section or separate table sitting at bottom...I havent found solution to this. Been looking for months on and off
m
Same, I was looking for a job I did about a year back but settled on another solution because I couldn’t figure out a way to do it. Now the request was made by another customer and I figured I’d give it another go but I guess I’ll have to tell them it’s not possible then. Thanks!
s
Let me know if you figure it out. I had one where I made an outside table with the static part at bottom. Then inside that I put the item table. Restriction: it can only be one page and txns only were 1 item at a time. Super janky
m
I figured if I know it’s only 1 page I can just put it at the top of the footer, but unfortunately in this case the documents can be anywhere from 1-10 pages 😞 but thanks for the tip anyway and I will let you know if you find a solution (and please let me know if you do too!)
s
For sure. I posted this multiple times so i wont forget about it
👍 1
w
Don't wrap your table rows with a nested table:
<table>
<tr><td>
<table>
<#list record.items as item>
<tr>
<td>${item.item}</td>
</tr>
</#list>
</table>
</td></tr>
</table>
Do not do the above (if doing it).