Creating a Page Break

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

force a page break before the comments so the users have the option to print the article with or without the comments. If they print just the article then it can stand alone in a nice clean package.

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

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.