title: PHP PDF creation A3, A4 and A5
body: <p>I'm looking at generating PDFs to output various types of document sizes, A3, A4, A5 using PHP.</p>
  
  <p>Currently I have a div that has various divs within this area that are positioned absolutely.</p>
  
  <p>What I'm looking to do though is to have this div a fixed height a width, but when I save the contents, it can be used for A4, A3 and A5 print sizes.</p>
  
  <p>What's the best way of achieving this?</p>
  
  <p>Thanks</p>
  
  <p>EDIT:</p>
  
  <p>I am also trying to add a full width background image for each type?</p>
  
  <p>Also, does the div need to be a specific height/width in order to create each document?</p>
  
  <p>I'd like to have an 'area' where I can view the HTML of document. So, if I select A3, it will then save the PDF as A3, with the background image full width and all the positioned divs in the correct places.</p>