function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Trying to get a table to extend to the bottom of the page in VF page rendered as pdf

The links below show what the page should look like and what it actually looks like now.


Correct Version


Incorrect Version


My initial thought was to use the CSS position property and just put the bottom of the table row where I need it to be. However, no matter what I put for the position, the actual height of the table row never changed.


I came up with a kludgey solution that sets the height of the last table row (all blank spaces) based on the number of items in the memo through my VF page controller.

I.E. If their are 3 items the table row height is 250px and with 2 items it is 300px.


However, this solution has some issues and it seems like there should be a much better way to do it.



So,  am I missing some obvious bit of CSS that does what I need to do? Should I be doing this through VF somehow?







Same problem here :(


Kind regards