Border around a table?

Hi -- if you click on an image while editing a Confluence page, it has the option of adding a border (just a black frame). Is there any way to do this for a table somehow? The table row/column borders are really faint and hard to see, and sometimes even disappear (as mentioned here: Can I add borders to my table (in the Atlassian hosted version)? Thanks!

6 answers

1 accepted

Hallo Natalie

Daniel's suggestion is a good one for installed versions of Confluence, but the CSS styling is not available in your hosted (Confluence OnDemand) site.

Your idea of using Excel is also very good!

Another great option is to use the Table Plus macro. It is available in Confluence OnDemand - I've just tried it on my own site.

To use the Table Plus macro, add the macro via "Insert" > "Other Macros" in the Confluence editor. You'll see the macro placeholder on your page.

Then add tables inside the macro placeholder, using the normal table option in the editor.

Then click the Table Plus macro placeholder, to edit the macro options. Right at the very bottom is a place where you can set the width of the borders. There are some other pretty neat options there too.

If you like, you can see my page where I played around with the Table Plus macro here:

To see the macro placeholders, choose "Tools" > "View Source" on that page.

Here's the full documentation for the Table Plus macro:

I hope this helps.



Amazing that you have to pay to be able to do something as (otherwise) easy as put a border round a table.

You could use a custom stylesheet to place a border around your table.

table, th, td
border: 3px solid black;

I would try adding the above to your custom stylsheet area in Confluence admin and see if you like the results. Note: this will alter the style for all tables in your instance. You could use a the source editor to add a custom class to the table and alter your css rule to apply styling to just that class.

Just thought: I could make my table in Excel and then use the MS Excel preview macro to display it on the page. It's not ideal because I wouldn't be able to edit the table on the page -- I'd have to go back into the original document and re-upload it to Confluence each time changes are made. But at least the table would look more professional.

HTML Table formatting with CSS will help you. Douglas

The CSS Collapse property takes two values, separate and collapse.

  separate :   The separate value forced all cells have their own independent borders and allow spaces between those cells.

  collapse :   This value collapse all spaces between table borders and cells, so you can see as a single line border.

table { border-collapse:collapse; }


Links in solution no longer work... please put instructions here.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

477 views 3 18
Read article

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