Good morning, I am working with mpdf
to generate pdf files from a document html
I have the following structure:
<?php
require('MPDF57/mpdf.php');
$html='';
$mpdf=new mPDF('c','A4');
$mpdf->writeHTML($html);
$mpdf->Output('prueb.pdf','I');
?>
Within the variable $html
add all my html
I want to be passed to pdf, I tried adding everything from the html
, from head
and nothing,
but the styles are correctly designated since the same body of the document I have it in another file for tests and it looks perfectly.
Does anyone know what it could be?
the php
, html
, css
I have them in different files.