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

2 votes
Accepted answer


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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,083 views 17 14
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