Hello,
I am using JSReport (JSRender and PhantomPDF) to render my template and create a PDF. Everything is working except that I have some issues with alignment.
I have a table in a div which is in a td of a table. For most of the row of the table, the alignment is perfect as expected, but few rows have bad alignement (in the red cercle of the screenshot) :
An other example :
Here is a part of my html code :
<td>
<div style="border:2px solid #000000;border-bottom-right-radius: 10px;border-top-left-radius: 10px;height:90%;width:90%;">
<table style="height:100%;width:100%;" >
<tr>
<td style="text-align:center; height:100%;font-family: Arial;">{{:Unit}}</td>
</tr>
</table>
</div>
</td>
As you can see, the text and the border are smaller than others lines. I have tried everything, table in td, div with span in td, table in div in td, div in td... I have always 2 or 3 issues in my 30 pages pdf.
Is it a bug or do I have done something wrong ?
Thanks for your help.
Gilles