Why am I having problems with my table width?

Why is it when I resize the table width to "100%" it comes out perfectly on Confluence but not to the PDF Export?

Am I doing something wrong?


1 answer

1 accepted

0 votes
Answer accepted
Ann Worley Atlassian Team Dec 06, 2017

Thanks for including so many details. It looks like you are sizing your tables in the Source Editor, which can introduce user errors, but it looks fine.

I found a good workaround in this ticket: Each column has same width in a table regardless of the contents on exported PDF It's not the exact same issue but the PDF stylesheet suggested did improve my export. What I did was go to Space Tools>Look and Feel and add the following to the PDF stylesheet:

table.confluenceTable {
width: 100%;
table-layout: fixed;

Here is my Confluence page:

Screen Shot 2017-12-06 at 1.31.46 PM.png

Without the PDF stylesheet my export looked like:

Screen Shot 2017-12-06 at 1.23.27 PM.png

After I added the stylesheet:

Screen Shot 2017-12-06 at 1.41.57 PM.png


A little background: PDF exports of tables have been historically problematic - check out this partial list of bugs:

Screen Shot 2017-12-06 at 1.25.12 PM.png

I look forward to hearing whether a PDF stylesheet helps you get the exports the way you want them.

Thanks, this worked :)

Suggest an answer

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

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

212 views 2 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you