Dear all,
Using standard html code and write an html file to test a table, I get the following result:
The above image represents a table with 2 rows and 2 columns.
Using the same exact code on Odoo report template, I get this result:
What could be the problem?
How can I reduce the distance between the cells in Odoo and achieve the same result as the first image? Tried to play with cellpadding, cellspacing, border and nothing seems to work... in fact, even increasing this values to very high numbers the result is always the same...
The sample code I use:
<table style="text-align: left; width: 720px;" border="0" cellpadding="0" cellspacing="0" padding="0" margin="0">
<tbody>
<tr >
<td style="vertical-align: top; width: 168px;">Value 1</td>
<td style="vertical-align: top; width: 546px;">field value 1</td>
</tr>
<tr >
<td style="vertical-align: top; width: 168px;">Value 2</td>
<td style="vertical-align: top; width: 546px;">field value 2</td>
</tr>
</tbody>
</table>
Thank you in advance
Best regards
Paulo