Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Is it possible to align text in table cells?

User wants to align text in table cells in same why as Excel (top, bottom, center). Any ideas?

5 answers

funny enough 3+ years old....

It ain't pretty, but  you could add a a 'style' macro with the following content (at least on Atlassian Cloud):

td {vertical-align:middle !important;}

That will set it for all table cells though.

Ain't pretty?  It's beautiful.

For anyone on server version that wants to create their own user macro using TB's code snippet, here it is.

## Macro title: Center All Table Cells (Vertical)
## Macro has a body: N
## Body processing: no body
## Output: Changes cell text to vertical alignment in table cells,
## Developed by: YOUR NAME
## Date created: 05/8/2020
## Installed by: YOUR NAME

## @noparams
.wiki-content td {vertical-align:middle !important;}

Like # people like this

Oh, I just found another option:

Just use plain old HTML. A bit more work, but it does the job.

What, on the other hand, makes me wonder why in Hell's bloody name they can's just add something to the CSS or write two g**damn lines f code to do that. It's not like they have to write an x86_64 assembler from scratch.




3 votes
Mallmann Atlassian Team Mar 26, 2015

Hello Alex,

Current there's no support for vertical alignment of table cell contents in Confluence. There's an existing New Feature request, though:

I hope it helps.


Hi, I'm from the future, 2020.

It is still not possible, at least not without paying extra for a plugin.

Any Wiki can do that without much fuzz thoug.

Like # people like this

I can't find how to center vertically the text within a section macro either :(

Like jkannut likes this

Is it possible to have the cloud version?

Hi there, 

Thanks a lot for writing this app. Would it work for Data Center versions too?

Would love it if you could write a Cloud version! This is needed desperately!  :)

Thank you mate!

Thanks Eduardo!

Suggest an answer

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

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

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