rpdasilva / print-html-element

Prints the HTML of a provided element.
MIT License
24 stars 10 forks source link

Print on multiple pages #17

Open eraelpeha opened 6 years ago

eraelpeha commented 6 years ago

In addition to #16 I would like to ask if there would be the possibility to print each element to a new page?

andehwong commented 6 years ago

Hey @eraelpeha,

I managed to do this by using the div tag: <div style="page-break-after:always;">

Having a page break for each div allowed it to print each element on a seperate page.

eraelpeha commented 4 years ago

Hey @eraelpeha,

I managed to do this by using the div tag: <div style="page-break-after:always;">

Having a page break for each div allowed it to print each element on a seperate page.

Thanks. This works for me.