Hello!
I have the following code:
$html = <<<EOD <style> td.firstcolumn{ width:42mm; text-align:right; padding-right:5px; } td.secondcolumn{ border: 0.2mm solid blue; width: 14mm; text-align: center; } </style> <table> <tr> <td class="first column">Hours:</td> <td class="secondcolumn">8</td> </tr> </table>
EOD;
$this->SetAbsXY(224, 27); $this->writeHTML($html);
The problem i have is that the padding-right of the first column is not working. So, is there any other option to do the same?
Thank you! Regards
You have a space in your class name on the table cell. Does it work when you remove it?
No, that blank is thanks the auto correct in Safari...
Log in to post a comment.
Hello!
I have the following code:
EOD;
The problem i have is that the padding-right of the first column is not working. So, is there any other option to do the same?
Thank you!
Regards
You have a space in your class name on the table cell. Does it work when you remove it?
No, that blank is thanks the auto correct in Safari...