How can I put a table on the center in Confluence?
Asked by ticoulat:

I want to see in a preview template one table into the center. I don't know how I do it.


Answers:
author: Mirek
body: Hi Martin,

There is no direct method to center a table i older versions of Confluence. You will need to do below workaround:

1. Add a section
2. Inside this section add 3 columns
3. In the center column add the table
4. On other two tables add one single space

You can manipulate the width od those tables to match your needs.

I hope that will help.

Best Regards,

Mirek


author: Bruna Griebeler
body: Hi Martin,

Not sure about what version of Confluence you are running, but on Confluence 5, you just need to select all the table and click on center so the table will be placed on the center of the page.

If you running other version and having trouble with it, please just let us know.

Cheers!

comments: author: ticoulat
body: thank you for yor answer, I am testing the trial version of confluence


author: Kari Gilds
body: Hi Bruna,  

We are finding that this functionality does not work correctly in Confluence 4.3.3. We've had a couple different users try it out in both Firefox and Chrome. It does not work at all in Firefox. It appears to work in Chrome until you save the page; however, once the page is saved, the central alignment is not retained.


author: Brian K
body: Is anyone still having trouble with this? I've been able to get the table to show up in the center of the page when editing, but when I save it the table aligns left. Confluence 5.2.3. Tried page with and without sections and returned the same results


author: Steven F Behnke
body: Something like this works usually but it's butt ugly in the editor. The Center macro from Adaptavist's Content Formatting macro's would probably be better.

![](../../upfiles/Screen_Shot_2014-08-27_at_12.10.17_PM_1.png)


author: emmanuel fruchard
body: Hello,

I think this functionality is sensitive to the navigator.

With Confluence 5.8 I tried IE 11, Firefox 45 and Chrome 49. It worked with IE but not with the other two (which is quite a surprise).

Regards,

Emmanuel


author: Whitney Hahn
body: I am currently having trouble centering a table myself. Looks like this chat is from a few years back and the Plugin link does not work anymore. If anyone has a tip or trick about centering tables, it'd be much appreciated!

comments: author: Nbe
body: You can use here the macro "div" and "center":

in the editor:

![div-center-raw.png](https://community.atlassian.com/t5/image/serverpage/image-id/20584i2854F4BB5C2C64DF/image-size/large?v=v2&px=999 "div-center-raw.png")

and rendered:

![div-center-render.png](https://community.atlassian.com/t5/image/serverpage/image-id/20585i0DFC0313B9ADB539/image-size/large?v=v2&px=999 "div-center-render.png")

Cheers,

Nicolas


author: Christina Clark
body: Noob over here - how do I use those macros? They don't appear in my macro list.


author: CEWE Service Desk
body: Hi Christina,

They are part of the Adaptavist "Content Formatting" Plugin.

You can find this Plugin here: <https://marketplace.atlassian.com/apps/247/content-formatting-for-confluence>

Till v3.0.0 is this plugin free - For us it still work with Confluence v6.7.1 even if marked as uncompatible.

Cheers, Nicolas


author: Debbie Nicholas
body: Another plugin????


author: Svante Gustafsson Bj?rkegren
body: Hi Martin,

You should install the free content formatting plugin from Adaptavist

<http://www.adaptavist.com/doco/display/CFP/Content+Formatting+Plugin>

It provides you with a "center"-macro in which you could place your table. Then it will be ceneterd on the page.

The plugin provides you with a lot of great macros so I can highly recommend it!

Hope it helps you!

// Svante