Skip to content
Advertisement

How to set top and bottom margin in .HTML using jspdf

how to add margin-bottom and top at multiple pages pdf .

although i am using the latest version of jspdf which uses .html function

JavaScript

thank you for help

Advertisement

Answer

I think you forgot to add the margins variable into the .html() I added it as an array below.

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement