Confluence PDF Export PDF Stylesheet - how to hide table in output pdf export?

Anyone know how to easily hide a table from the PDF export using the PDF Stylesheet facility.

6 answers

Hi Tai Ngo

if you want tables with content but no border just go for "more is more".

div.table-wrap table.confluenceTable tr td, div.table-wrap table.confluenceTable tr th.confluenceTh {  
border: none;  
border-collapse: collapse; 

=> Results... wiki

2015-08-18 11_30_42-The Real Test - Steffen Heller - Lightweb.png PDF

2015-08-18 11_34_41-Steffen.Heller-TheRealTest-180815-1134-54.pdf - Adobe Acrobat Pro.png

Put the table in a div macro and set the class to: noprint

Then add the following to the PDF Stylesheet:

display: inline-block ;

Thanks, this worked.  But what if i want to just not print the TABLE borders but the table contents?  Doing a Table border:none; in css doesn't work to hide the table borders.


...pertains to exporting a PDF...the table borders always show up in the PDF...even with PDF Stylesheet telling them to not show up:  border:none;

You can build the table manually using the HTML Table et al (body, row, cell) macros. Or create the table using wiki markup.

Thank you.  That worked.

Be sure to mark the question as answered.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

465 views 19 9
Join discussion

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