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

How do I center text to the middle height of a column?

CAROLINE_MENDONÇA May 20, 2020

So say the column has some text and I want to visualize in the middle of the height of that column (not meaning to center it). I mean really using the height. Does anyone know if that is possible?

3 answers

0 votes
Zeyu Wang January 30, 2024
0 votes
Clem March 28, 2023

Hello,

Yes you can!

You can edit the HTML code and style by adding the style property vertical-align: middle;

First center your text horizontally :

Capture d’écran 2023-03-28 164101.png

Then click on the code button on the top right of your page :

Capture d’écran 2023-03-28 164158.png

Then search for the <td> matching the cell you want to edit and add the text "vertical-align: middle;" inside the style property:

Capture d’écran 2023-03-28 164246.png

 

Final result with two tables (last one have text centered) :

Capture d’écran 2023-03-28 164034.png

 

Clem

Jem Sinclair July 4, 2023

@Clem legend! I've just jumped onto Confluence recently and this has been bothering me big time 🤣

0 votes
José Antonio Guerrero May 20, 2020

Hello :)
Neither Confluence nor JIRA currently have the option to center content in table cells as you say.
Only the alignment options (left, center and right) are available as shown in the image.
I hope I've helped.
Cheers!
2020-05-20_192859.jpg

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events