PrinceXML is awesome! Finally, a solution that works great. I've noticed one problem and I am wondering if it can be helped.
I have report type of document. The report is a table with thead and tbody. The tbody contains many rows. These rows are split into section. Each section contains a heading row, data rows, and an optional sub-total row.
I noticed that sometimes the bottom of the thead is not rendered correctly. I've narrowed this down to the case when the first row on new page (does not happen on first page) is a heading of one of the sections.
I've cooked up an example which I attached. Compare the table header on the first page to the second page. On the second page, the bottom of the header seems cut-off. Using Prince 6.0 rev 1. Any ideas?
Sorry the inlined css (using this as the html email as well).
I have report type of document. The report is a table with thead and tbody. The tbody contains many rows. These rows are split into section. Each section contains a heading row, data rows, and an optional sub-total row.
I noticed that sometimes the bottom of the thead is not rendered correctly. I've narrowed this down to the case when the first row on new page (does not happen on first page) is a heading of one of the sections.
I've cooked up an example which I attached. Compare the table header on the first page to the second page. On the second page, the bottom of the header seems cut-off. Using Prince 6.0 rev 1. Any ideas?
Sorry the inlined css (using this as the html email as well).
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Report</title>
<style style='text/css'>
@page {
size: A4 landscape;
margin: 60pt 40pt 60pt 40pt;
@bottom-right {
content: "Page " counter(page) " of " counter(pages);
font-size:10px;
font-family:"Lucida Grande","Lucida Sans Unicode","Sans-serif";
color:#323232;
}
@bottom-left {
content: flow(footer);
}
@top-left {
content: flow(header);
}
}
</style>
</head>
<body>
<table style='padding:0;margin:0;width:100%;border-collapse:collapse;background:#FFFFFF;'>
<thead>
<tr>
<td style='background:#E3E3E3;white-space:nowrap;padding:3px 6px;text-align:left;border:1px solid #B5B5B5;font-size:10px;font-family:"Lucida Grande","Lucida Sans Unicode","Sans-serif";color:#363636;'>
Property
</td>
</tr>
</thead>
<tbody>
<tr style='page-break-before: always;page-break-after:avoid;border-top:1px solid white;'>
<td style='font-weight:bold;font-size:10px;font-family:"Lucida Grande","Lucida Sans Unicode","Sans-serif";background:#ffffff;color:#323232;padding:2px 0;'>
December 2006
</td>
</tr>
<tr style='background-color:#FFFFFF;'>
<td style='padding:4px;font-size:10px;font-family:"Lucida Grande","Lucida Sans Unicode","Sans-serif";color:#363636;'>
100 C Street - 100 California Street
</td>
</tr>
<tr style='page-break-before: always;page-break-after:avoid;border-top:1px solid white;'>
<td style='font-weight:bold;font-size:10px;font-family:"Lucida Grande","Lucida Sans Unicode","Sans-serif";background:#ffffff;color:#323232;padding:2px 0;'>
January 2007
</td>
</tr>
<tr style='background-color:#FFFFFF;'>
<td style='padding:4px;font-size:10px;font-family:"Lucida Grande","Lucida Sans Unicode","Sans-serif";color:#363636;'>
451 Ortega Street - 451 Ortega Street
</td>
</tr>
</tbody>
</table>
</body>
</html>