Can't center a table on the page in Confluence 5.5.2


I can't center tables.

Here are the methods I used:

  • I highlighted the entire table including one line above and below the table and pressed the center button. In edit mode, the table is centered. But once the page is saved, it's still left justified. I also tried right justifying it too to see if that would work and it doesn't.
  • I then used tab which also doesn't work.
  • I created a section added text that I centered then added a table in between all the centered text. Still didn't work.
  • Last attemp that didn't work: on our dev server, we are testing the Confluence Source Editor macro. So I entered <table align:center>. Still no go.

I'd rather not create a section with three columns to center the table.

Does anyone have any ideas? Or is this a bug in Confluence?


1 answer

1 accepted


I continued to play with the source editor. This is what finally worked:

<div align="center"></div>

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,347 views 25 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you