Vertical Align Content in Table Cell

Jeff Shepherd July 28, 2022

I can align text in a table cell to the left/center/right.

Is it possible to align it top/middle/bottom?

3 answers

2 accepted

1 vote
Answer accepted
Bill Bailey
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.
July 28, 2022

Since you are on server, you can update the global/space CSS to middle align cell text (what I did by default in my instances).

The default in Confluence is top, If you wanted something more select able, You could create a user macro to wrap your cell content and set the alignment -- a bit cumbersome.

If you wanted to control it on a table basis, you could use a similar strategy to wrap your table and set the vertical alignment for all cells in the table.

Jeff Shepherd August 1, 2022

I supposed I should have specified are there page editing tools provided that can align vertically.

If I've got to manually edit the HTML/CSS I'm taking the answer to be 'no'.

Like # people like this
Bill Bailey
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.
August 1, 2022

Correct, there is no builtin tool to do what you want. I would require a custom addon to the existing editor. There might be a third-party solution, but you would have to search the marketplace to see. Would be a cool addon, though.

0 votes
Answer accepted
Jeff Shepherd November 20, 2023

A feature of Confluence 8.4 is the ability to:

  • Align table content vertically
Victor August 1, 2024

Hello from the future!

Does this function still exist? I might be blind but I cannot find it anywhere.

Jeff Shepherd August 1, 2024

In a table cell select "Align Middle" from the ribbon options

Screenshot 2024-08-01 at 7.29.56 AM.png

 

Victor August 2, 2024

Oh wow, any idea how I get all those options?

These are all the ones I can see.
image.png

Thanks in advance!

Jeff Shepherd August 2, 2024

You need to have your cursor be in a table cell for the second ribbon line to show up. At least on my version of Confluence (Data Center, 8.5.7). There is documentation on Tables and you can select the version appropriate to you. I suspect you are on Cloud and I have no experience with that.

Victor August 5, 2024

Yeah you're right I am on cloud. Very confusing this..

Thanks for your time and replies, hopefully I'll get to the bottom of this.

0 votes
Jaspreet Singh
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!
November 17, 2023

Shocking that this isn't a thing

Jeff Shepherd November 20, 2023

I just updated the answer to my own question. As of 8.4 it is a thing.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events