title: Rendering PDF with css on the fly client side webapp
body: <p>I would like to render a PDF on the fly using HTML that is generated from d3 (chart/table with dynamic data), add style to it (css/inline-styles).</p>
  
  <p>I managed to generate a pdf out of an html table though, what I need is a lot more style to be added.</p>
  
  <p>I've tried using different libs though they provide a poor way to style (mostly limiting to font sizes/colors and margins), thought about trying html2canvas and then jsPDF, though that didn't work.</p>
  
  <p>Almost everywhere I investigated I've found developers trying to do a very styled pdf using css, they turned to do so server-side (mainly phantomjs).</p>
  
  <p>What are the technical difficulties found in client-side that enable adding a css via server-side but not in client-side ? shouldn't this be possible on both ends ?</p>