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: https://answers.atlassian.com/questions/171645/table-borders-disappearing). Can I add borders to my table (in the Atlassian hosted version)? Thanks!

6 answers

1 accepted

This widget could not be displayed.

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:

https://wikitechcomm.atlassian.net/wiki/display/CHAT/Playing+with+tables

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

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

https://bobswift.atlassian.net/wiki/display/TBL/Table-plus+macro

I hope this helps.

Cheers

Sarah

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

This widget could not be displayed.

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

http://www.w3schools.com/css/css_table.asp

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.

This widget could not be displayed.

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.

This widget could not be displayed.

HTML Table formatting with CSS will help you. http://www.corelangs.com/css/table/default.html Douglas

This widget could not be displayed.

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; }
 
 
Justin
 

 

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

169 views 12 7
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