Skip to content

Its all about Salesforce. No Bakwaas

  • Twitter
  • Facebook
  • Google+
  • GitHub
  • Home
  • Releases
  • About

Tag: css

How to move the content to next PDF page if content doesn’t fit in the page?

If you want to move the content dynamically in the PDF page when the content does not fit in the PDF.
See below screenshot where opportunity table doesn’t fit into the PDF page

 

You want to achieve below screenshot

 

Use CSS page-break-after Property

style=”page-break-after:always;”   inside div tag

 

crazy sfdc Salesforce, VF Page Leave a comment June 5, 2018 1 Minute

Categories

Blog Stats

  • 2,708 hits
A WordPress.com Website.
  • Subscribe Subscribed
    • crazysfdc.com
    • Already have a WordPress.com account? Log in now.
    • crazysfdc.com
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...