jsPDF css style does not working
<p>I'm trying to convert my div to pdf using jsPDF , this is my div :</p>

<pre><code>&lt;div id="pdffile" style="display:none" class="containerPDF"&gt;
     &lt;headerp&gt;&lt;h1 id="pdfTitle" style="text-align: center; color:red;"&gt;&lt;/h1&gt;&lt;/headerp&gt;
     &lt;navp&gt;
         &lt;div id="pdfImage"&gt;&lt;/div&gt;
&lt;/navp&gt;
     &lt;articlep&gt;
     &lt;h1&gt;Description&lt;/h1&gt;&lt;p id="pdfDescription"&gt;&lt;/p&gt;
    &lt;/articlep&gt;
     &lt;footerp style="text-align: center;"&gt;Copyright © Emoovio&lt;/footerp&gt;
 &lt;/div&gt;
 &lt;div id="editor"&gt;&lt;/div&gt;
</code></pre>

<p>and this is my jquery code :</p>

<pre><code>$('#cmd').click(function () {
var x =  $(".entry-title").text();

        doc.fromHTML($('#pdffile').html(), 15, 15, {
            'width': 170,
            'elementHandlers': specialElementHandlers
        });
        //doc.autoPrint();
        doc.save('emoovio-'+x+'.pdf');

});
</code></pre>

<p>and when I excute this code , i have my pdf , but no center , no color , nothing styling !!!        </p>