question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Content not flowing to next page

See original GitHub issue

I have a simple page tampleate:

<html>
<head>
    <style>

        @page {
            size: a4 portrait; /*landscape*/
            margin: 2cm;
            @frame content_frame {
                left: 50pt;
                width: 512pt;
                top: 50pt;
                height: 212pt;
                -pdf-frame-border: 1;
                -pdf-keep-with-next: false;
            }
        }


    </style>
</head>
<body>

Lorem ipsum....

Just a lot more lorem ipsum. However the pdf looks like it fills the content frame, then it starts form the tom of the page and fills the smae page then, and finally it switches page to the next one.

bad_flow.pdf

See attached file for an example. Is there anything wrong with my template?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

8reactions
TheMiloAndersoncommented, Jun 10, 2019

In case someone else runs across this: I had the same problem (with versions 0.2.1 and 0.2.3), and the only thing that fixed it was to remove the “margin” property from the page selector. No idea why.

0reactions
IvanCastroUAYcommented, Jul 8, 2022

In case someone else runs across this: I had the same problem (with versions 0.2.1 and 0.2.3), and the only thing that fixed it was to remove the “margin” property from the page selector. No idea why.

Thanks, i can confirm that your solution also worked for me on version 0.2.7.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Data in Adobe form not flowing to next page - SAP Community
My problem is that, the data in my form is not flowing to next page. I have taken every content inside subforms and...
Read more >
Solved: allow table page break does not flowing to next pa...
Solved: Hi All. I developed form with table and I expected that when table content increase it will break to next page and...
Read more >
Multi-page form not flowing properly | Adobe Acrobat
My dilemma is such that when a user types in one of the text fields on one page and forces the text box...
Read more >
Table Won't Flow to Second Page - Microsoft Word Tips
If the paragraphs have the "Keep with Next" setting selected, then it can cause problem with the flowing of the paragraphs within the...
Read more >
Table contents run off page but not onto the next page.
If you have positioning options for the table, then the wrapping is not set to None; the table is wrapped, which brings us...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found