Forcing page breaks in printed versions of your site with CSS

I learn something new every day. You can force a page break in your printouts with CSS by using the page-break-before and page-break-after properties.

These are supported by all modern browsers (including Safari although not listed above) so can be freely used to get better control over the printed versions of your pages.

posted by Aaron Barker on Thursday, Dec 14, 2006
tagged with css, printing