Forum How do I...?

table splitting

emkookmer
Hi,

i'm using prince 7.1 and am wonder to which padding is look when splitting tables? (@page) or (@page overruled by @bottom).
because if i turn the bottom padding for the first page to 0mm then the height of the footer (in @bottom) is ignored and the table splits at the bottom of the page (because of the 0mm) and behind my footer. (see attachement view-51.pdf)

Secondly why isnt my div footer "footer_first_page" shown at the bottom (in the footer section) like on the normal page (which is only an image)?

I have this page setup
all the flow()'s are div elements with 1 or more subelements
/* page definition */
@page:first
{
    size                : A4;
    margin              : 0mm;
    padding             : 54mm 0mm 135mm 0mm;

    @top-left
    {
        padding-top     : 140px;
        padding-left    : 48px;
        content         : flow(logo);
    }

    @top-right
    {
        padding-top     : 193.5px;
        padding-right   : 42px;
        content         : flow(logo_intermed);
    }

    @bottom
    {
        content         : flow(footer_first_page);
    }
}
@page
{
    size                : A4;
    margin              : 0mm;
    padding             : 54mm 0mm 20mm 0mm;

    @top-left
    {
        padding-top     : 140px;
        padding-left    : 48px;
        content         : flow(logo);
    }

    @top-right
    {
        padding-top     : 193.5px;
        padding-right   : 42px;
        content         : flow(logo_intermed);
    }

    @bottom
    {
        padding-bottom  : 38px;
        content         : url(../img/pdf/footer.jpg);
        prince-image-resolution : 300dpi;
    }
}
  1. view-51.pdf364.5 kB
mikeday
I'm not quite sure what you mean. You can try adding some borders to the page, to show the size of the page body area and the page margin boxes:
@page {
    border: solid red thin;
    @top { border: solid red thin }
    @bottom { border: solid red thin }
}

This can make it easier to see what is going on.