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

How can I change the spacing between lines in a table cell?

Kevin Raeder Nov 03, 2017

I want to make my table more compact by reducing the

space between lines in cells which have more than 1 line

of text in them.  I see how to change the justification, font, etc.,

but not the spacing.

2 answers

1 vote
Robert Sumsion Jun 11, 2018

I have found the exact same thing, and the answer is that when you hit return in table cell within confluence, it adds a CR and a CRLF. If you paste into notepadd++ or similar editor you will see. If you copy into notepadd++, press the show special characters icon, remove the extra CR and then paste back it will be single line spacing. It does seem like a confluence bug.

Lenard Fudala Feb 18, 2019

Save the trip between editors: Shift + Enter

0 votes
Gonchik Tsymzhitov Community Leader Nov 04, 2017 • edited

Dear Kevin, 

 

Confluence does have function out-of-the-box function change spacing.  You can override by using Javascript for change css parameters on space level or on Global level.

https://confluence.atlassian.com/confkb/how-to-use-javascript-in-confluence-313458839.html

 

Or can change only for one page by using source editor in edit mode. (you need click button <>)

 

Cheers,

Gonchik Tsymzhitov

Kevin Raeder Nov 04, 2017

Dear Gonchik,

thanks for your answer.  I'm most interested in changingthe spacing for just one page.  I'm working on a pageunder wiki.ucar.edu, which apparently is built using Confluence.  When I first view the page, I see an edit button, which takes me to a version of the page that I can edit.  I'm not able to change the spacing on that page.I don't see any other button <> to edit in any other way, such as source editing.  Where should I find that button?

Kevin

Daniel Jackson Nov 22, 2017

I simply want to change line spacing just for my space on a page.

Gonchik Tsymzhitov Community Leader Nov 22, 2017

@Daniel Jackson As I understand you want to change for all page in the one space. 

If it is, just set css parapeter

https://community.atlassian.com/t5/Confluence-questions/What-is-the-CSS-selector-to-control-line-spacing-between-list/qaq-p/264218

 

in the space Look and feel place See below https://confluence.atlassian.com/doc/styling-confluence-with-css-166528400.html

 

Hope it helps. 

Cheers,

Gonchik Tsymzhitov

Gonchik Tsymzhitov Community Leader Nov 22, 2017

@Kevin Raeder Button you can find it in the edit mode.  It is symbol <> .

Daniel Jackson Nov 22, 2017

Here's a screenshot. My name is Daniel Jackson and see how all of my lines have what seems to be double spacing? While the person below me who is not a programmer at all whatsoever and has no idea what CSS even means, seems to have single spacing like most others. How/why is there a difference with mine and everyone else?

LineSpacing.PNG

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
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...

2,394 views 11 28
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