Forum How do I...?

Page Alignment in the Bottom

riffmaster
Hi,

I've set the @page bottom margin for the page.
But it looks like the book ends up at different lines for each page at the bottom. So, it looks a little awkward when there is an extra line on the right page. I noticed that it could be because we have paragraph tags in each page.

Is there a way to ensure that the number of lines are equal and that they always end up at the exact line for all pages ?

Thanks
Bhargava
mikeday
The only way to guarantee this is to ensure that the gap between paragraphs is an integer multiple of the line-height.
riffmaster
thanks mike ! that helped! :)
riffmaster
is there a way to dynamically adjust the line height or paragraph margins based on the number of <p> tags used in a specific page ? I want it to adjust the line height automatically. IS that at all possible ?
mikeday
No, there is no mechanism for vertical justification in CSS at the moment.