Hi I am using mpdf for generating pdfs. Now I am facing problem with table border in html. I have following style for table in html
<table border="10" cellpadding="1" cellspacing="1" style="width: 500px;">
<tbody>
<tr>
<td>Test header</td>
<td>Test header</td>
</tr>
<tr>
<td>body</td>
<td>body</td>
</tr>
<tr>
<td>body</td>
<td>body</td>
</tr>
</tbody>
So the resulted pdf is not respecting the border size of the table. I attached the pdf. Please checj
remove border="10"
and use border:10px solid
at style attribute for inline at <table>
tag, <tr>
and at <td>
tags also as mpdf will work on inline style sheet for all browsers.