Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

CSS Controlled Page Breaks

Kurt Skytte Feb 04, 2012 03:21PM PST

I wanted to know if there is a way to specify page breaks on a webpage. I tried to incorporate your print function on a prototype design that I'm working on the include CSS page break control scripts but they seem to be ignored by your print function. Is there a way to make this work?

Up 1 rated Down
Taylor Norrish Feb 06, 2012 05:18PM PST PrintFriendly Agent

Thanks for asking. Yes this is possible.

Add class=“page-break-after” or class=“page-break-before” to any element (img div, p, ul ol, etc.).

Example: <img class=“page-break-before” src"/really-big-image.jpg">

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Follow our Tweets

support@printfriendly.com
http://assets1.desk.com/rb2b8f5170ff217b032a9b617ec967c37cd75a1c5/javascripts/
true
printfriendly
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
Invalid characters found
/customer/portal/articles/autocomplete