Please help me, I use inline-block and the table mess. I use HTML 5 and use standard css. When i run this code outside dompdf it's okay. I have already try to use float and it doesn't work too, I already change DOMPDF_ENABLE_CSS_FLOAT to true
This is my code
<div class="di">
<table width="50%" style="font-size: 9; border-collapse: collapse; border: 0px;">
<tr>
<td style="border: 1px solid" rowspan="5" width="30%">
<center><div style="width: 3cm; height: 4cm; background-color: red"></div></center>
</td>
<th style="border: 1px solid" width="20%"><center>Nama</center></th>
<td style="border: 1px solid">: Okik Rian</td>
</tr>
<tr>
<th style="border: 1px solid"><center>Divisi</center></th>
<td style="border: 1px solid">: MIS</td>
</tr>
</table>
</div>
<div class="di">
<table width="50%" style="font-size: 9; border-collapse: collapse; border: 0px;">
<tr>
<td style="border: 1px solid" rowspan="5" width="30%">
<center><div style="width: 3cm; height: 4cm; background-color: red"> </div></center>
</td>
<th style="border: 1px solid" width="20%"><center>Nama</center></th>
<td style="border: 1px solid">: Okik Rian</td>
</tr>
<tr>
<th style="border: 1px solid"><center>Divisi</center></th>
<td style="border: 1px solid">: MIS</td>
</tr>
</table>
</div>
And this is the result What's the problem? thanks for your help. I use
"php": ">=7.0.0",
"barryvdh/laravel-dompdf": "^0.8.1"
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2xr0eG3
via IFTTT
Aucun commentaire:
Enregistrer un commentaire