Open johnwry opened 4 years ago
I'm new to html2pdf but so far very impressed.
I have an issue though...I cannot indent text left within h1 h2 h3 (etc) or anything for that matter. I can add margin or padding above or below but nothing left-right...please help.
Hello you have to specify marge left in css :
<style type="text/css"> h1{ margin-left: 10px; } h2{ margin-left: 20px; } </style>
or make classes, as you want and you insert
I'm new to html2pdf but so far very impressed.
I have an issue though...I cannot indent text left within h1 h2 h3 (etc) or anything for that matter. I can add margin or padding above or below but nothing left-right...please help.