Print Page Breaks


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

While most of the internet users prefer to read content online but some of your users might like to print your article. With CSS you can control the page breaks within content just add this CSS class to your stylesheet and add this class to any tag which you would like to print on next page.


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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.