title: Resize html before exporting to pdf with jspdf .html() method
body: <p>I am trying to figure out how to resize a HTML element with jsPDF <a href="https://rawgit.com/MrRio/jsPDF/master/docs/module-html.html#~html" rel="nofollow noreferrer"><code>.html()</code></a> method.</p>
  
  <p>I tried with the code below but the <code>width</code> option does not seem to make any change in the output.</p>
  
  <p>I am just assuming <code>width</code> is an option of <code>.html()</code> as unfortunately, as of now, 
  there's no documentation to this method and one is supposed to guess it <a href="https://rawgit.com/MrRio/jsPDF/master/docs/modules_html.js.html#line749" rel="nofollow noreferrer">from the code</a>.</p>
  
  <p>Also, it seems to me it should takes the option from the <a href="http://html2canvas.hertzen.com/configuration/" rel="nofollow noreferrer">html2canvas options</a>, that's why I tried with <code>width</code>.</p>
  
  <p>Anyway, the code:</p>
  
  <pre><code>var legend = document.getElementById("my-table");
  var pdf = new jsPDF(orientation, undefined, format);
  pdf.html(legend, {
      width: 200,
      callback: function () {
          window.open(pdf.output('bloburl'));
       }
  });
  </code></pre>
  
  <p><strong>#my-table</strong></p>
  
  <pre><code>&lt;table&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;img src="image1.jpeg"&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;img src="image2.jpeg"&gt;&lt;/td&gt;
      &lt;/tr&gt;
      ...
  &lt;/table&gt;
  </code></pre>