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?

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

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.

Save the trip between editors: Shift + Enter

Like # people like this

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.


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



Gonchik Tsymzhitov

Dear Gonchik,

thanks for your answer.  I'm most interested in changingthe spacing for just one page.  I'm working on a pageunder, 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?


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

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

If it is, just set css parapeter


in the space Look and feel place See below


Hope it helps. 


Gonchik Tsymzhitov

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

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?


Like Valeryia_Savitskaya likes this

Suggest an answer

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

Fast-track your Confluence onboarding with the Confluence product guides!

Hey there! New in town? Check out the new Confluence product guides! They are chock-full of helpful tips, tricks, and best practices to get you and your team started.  Here’s a quick overview...

141 views 3 1
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