1

Hey Laurent,
How are you doing?
Myself Sagar a senior web-developer working for a company now.
For the business issue I had downloaded the files of 'html2pdf'.
I got good result with plain HTML format, but when I was using any css or inline styling format within the HTML tags everything went blank. I suppose the format was not supporting the css/inline styling!
Here is the dummy script I was using to generate the PDF..
<?php
require_once('html2pdf/html2pdf.class.php');
//$content='<table><tr><td style="font-size:14px; font-weight:bold;">sagar</td></tr></table>';
$content='<table><tr><td>sagar</td></tr></table>';
$html2pdf = new HTML2PDF('P','A4','fr', array(0, 0, 0, 0));
$html2pdf->pdf->SetDisplayMode('fullpage');
$html2pdf->WriteHTML($content);
$html2pdf->Output('fckuploads/4.pdf','F');
?>
I didn't get the way to sort out my problem.
If you could help me to organize the way I am deserving.

Thanks and regards
Senior Web Developer
NEXVAL Infotech
Kolkata
India

2

have you try to generate the examples ? because css are supporting.

what is you version of HTML2PDF ?
Ancien pseudo : lolo