What is the resolution for first row displaying on top of header beyond the first page?

35 views
Skip to first unread message

Steve Ricketts

unread,
Nov 10, 2016, 1:53:14 PM11/10/16
to wkhtmltopdf General
I'm creating a file and then trying to convert it to a pdf in C#.  The first row of the data prints on the same line as the header.  The only parameters other than input and output file is  --load-error-handling ignore  --orientation landscape.  I've read a number of posts with the same issue but there seems to be conflicting information and nothing I've tried works.  I'm using the .12.3.2 version of wkhtmltopdf.  How can I resolve this issue?



Steve Ricketts

unread,
Dec 12, 2016, 11:09:25 AM12/12/16
to wkhtmltopdf General
I went back through all the related posts


The things I tried were:

thead, tfoot { display: table-row-group }  
Did not work

@media print {
    .element-that-contains-table {
        overflow: visible !important;
    }
}
Did not work

Finally, I tried the following and it DID work:
tr    { page-break-inside: avoid }
Reply all
Reply to author
Forward
0 new messages