Zunenonooo / dompdf

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

Page border #564

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello All

Newbie to Dom PDF am trying to get a line all around the outside of the page 
but it stops at the content line, i.e. if content only goes to the middle of 
the page it stops under it. 

I have tried putting css style on the <body> and a div with margin 0 but to no 
avail. I ahve even tried putting a background image with the line on it to sit 
behind the text with a -1 z-index, still to no avail.

Id there a way of creating the pdf page  with a border 10mm from the edge on 
all pages all the way round the page?

DOMPDF Verion @version $Id: dompdf.php 448 2011-11-13 13:00:03Z fabien.menager 
on php 5.3

Original issue reported on code.google.com by keith.iv...@gmail.com on 2 May 2013 at 12:16

GoogleCodeExporter commented 8 years ago
Since we've moved the project to github try downloading the latest code from 
there. I believe the body element by default now spans the entire page.
https://github.com/dompdf/dompdf

Original comment by eclecticgeek on 2 May 2013 at 3:12

GoogleCodeExporter commented 8 years ago

Original comment by eclecticgeek on 24 May 2013 at 3:00