title: DOMPDF - How to render PDF to have no margins at all?
body: <p>** UPDATE: I went to the settings at which my PDF was being rendered, and changed size to "Letter" instead of "A4" **</p>
  
  <p>So DOMPDF is supposed to render an html page, yet with the settings I have, it's not rendering the background image to be margin-less (the bottom and right side still have margins).</p>
  
  <p>Here's my css code on the HTML page being rendered:</p>
  
  <pre><code>@page { margin: 0px 0px 0px 0px; }
  body {
      background-image: url(../../picture.jpg);
      background-size: 100% 100%;
      background-repeat: no-repeat;
  }
  </code></pre>
  
  <p>Yet When rendered as PDF, here's how it looks:</p>
  
  <p><a href="https://i.stack.imgur.com/hlkzi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hlkzi.png" alt="There are still margins left"></a></p>
  
  <p>It might be doing this based on the settings that it outputs as, but I'm not sure. It's being rendered as an 'A4' paper, as 'portrait' layout.</p>
  
  <p>How would I be able to make the margins go away, so that it stretches all the way horizontally and vertically?</p>