Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Line breaks within tables on PDF export

Matt Ward
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 19, 2015

Trying to get PDF exports to break long lines within table columns so that all text within the table shows up.

1] Create new page with 3 column table

2] Paste 'abcdefghijklnmopqrstuvwxyzabcdefghijklnmopqrstuvwxyzabcdefghijklnmopqrstuvwxyz' into each column

3] Export to PDF

 

I've tried customizing the PDF Export stylesheet, to no avail.

body, p, li, td, table, tr, .bodytext, .stepfield {
word-wrap: break-word;
word-break: break-all;
}
.wiki-content p {
word-wrap: break-word;
word-break: break-all;
}

example.png

Any ideas?

Thanks!

2 answers

1 accepted

1 vote
Answer accepted
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.
March 19, 2015
{ table-layout: auto/fixed; }

could help.

0 votes
Matt Ward
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 20, 2015

Fixed did the trick.

Thank you!

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events