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

RSS Icon Subscribe to comments

You need to login to post a comment.