It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

PDF export - stop content overflow


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:




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

@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.


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

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

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

4,023 views 15 38
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you