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,855 hits
A WordPress.com Website.
  • Subscribe Subscribed
    crazysfdc.com

    Have a WordPress.com account? Log in now.

  • crazysfdc.com
    View site in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar
Loading Comments...