Force page breaks when printing your document


/ Published in: CSS
Save to your folder(s)

With this line of code you can control places where you want your pages to break when printing a document.


Copy this code and paste it in your HTML
  1. h2 { page-break-before: always; }

Report this snippet


Comments


You need to login to view comments.