Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

PDF export - stop content overflow

Daniel Sadjadian May 5, 2015

Hi,

How can I get the PDF export feature in Confluence to not overflow content onto the next page?

I basically want to stop this from happening:

 

kgkjhg3j4kjnh2134l5jh13245vjl1h3v46.png

 

You notice how the bottom of that diagram gets cropped or cut of onto the next page of the PDF export? How can I stop this?

2 answers

1 vote
Steffen Heller
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 6, 2015

@Daniel Sadjadian

I had the same problem and could solve it somehow but I can't remember what I did.

Obviously, it is about avoiding page breaks in images so it should be something like this: 

img {
page-break-before: avoid;
page-break-after: avoid;
}

But I am not sure.

Edit:

Perhaps you also try "page-break-inside" or check if the image is inside a table or div and then add that after "img".

Daniel Sadjadian May 6, 2015

I wish I could accept this. I just tried it and it does not work.

0 votes
Daniel Sadjadian May 6, 2015

@Steffen Heller Do you by any chance know how to fix this issue?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events