umanda / dompdf

exported from code.google.com/p/dompdf.
0 stars 0 forks source link

Orange/Red border gets added to each of the element generated in PDF #501

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Whenever I try to produce a PDF, it gives me a red/orange border around each of 
the HTML element and also each text. Following is my code for generating a PDF,

$content = '<html><body>'.
'<p>Put your html here, or generate it with your favourite'.
'templating system.</p>'.
'</body></html>';

require_once("dompdf/dompdf_config.inc.php");
$dompdf = new DOMPDF();
$dompdf->load_html($content);
$dompdf->render();
$pdfoutput = $dompdf->output(); 
$filename = $output; 
$fp = fopen($filaname, "a"); 
fwrite($fp, $pdfoutput); 
fclose($fp); 

I have attached a sample PDF generated. Please help me out here, its urgent got 
to finish it in ASAP.

Thanks in advacne.

Original issue reported on code.google.com by anniyan....@gmail.com on 9 Jun 2012 at 9:50

Attachments:

GoogleCodeExporter commented 8 years ago
What is the value of your DEBUG_LAYOUT configuration constant? If this is set 
to TRUE then it could cause what you're seeing.

Original comment by eclecticgeek on 10 Jun 2012 at 12:26

GoogleCodeExporter commented 8 years ago
Thanks a lot, that helped. It is working now. :)

Original comment by anniyan....@gmail.com on 10 Jun 2012 at 8:08

GoogleCodeExporter commented 8 years ago
Glad to hear it. Thanks for the follow-up.

Original comment by eclecticgeek on 11 Jun 2012 at 1:40

GoogleCodeExporter commented 8 years ago

Original comment by eclecticgeek on 30 May 2013 at 5:16