Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,369,239
Community Members
 
Community Events
168
Community Groups

Confluence: hide table cell borders

Hi all,

Is it possible to completely hide Confluence table borders without tinkering with CSS styles?

Setting "border" to "0" gives in 1px gray borders around table cells (Confluence 3.5):

{table:border=0|cellpadding=0|cellspaceing=0|frame=void|rules=none}

|| header1 || header 2 ||

| cell11 | cell 12 |

| cell 21 | cell 22 |

{table}

4 answers

1 accepted

4 votes
Answer accepted
Thomas Schlegel Community Leader Jun 11, 2012

Hi Pavel,

you have to do it like this:

{table:border=0|cellpadding=0|cellspaceing=0|frame=void|rules=none}
{tr}
{th}header1{th}
{th}header 2{th}
{tr}
{tr}
{td}cell11 
{td}
{td}cell 12 
{td}
{tr}
{tr}
{td}cell 21 
{td}
{td}cell 22 
{td}
{tr}
{table}



Thanks for your answer!

I'm bit confused by Confluence table syntax, because by default Confluence editor generates a table with cells separated by pipe "|" symbol. I somehow expected that iternally the same rendering code used for both syntax variants - pipe "|" and {tr}{td}.

Do you have any idea why tables were impletented this way? Is {tr}{td} more preferable / recent syntax than "|"?

Thomas Schlegel Community Leader Jun 11, 2012

Hi Pavel,

the regular Wiki-Syntax for tables is the one with pipes.

But if you use the {table} makro from adaptavist, you have to use also the {tr}, {th} and {td} macros inside.

You cannot use the pipe-Syntax within the {table}-Makro. Then you get a regular Confluence-Table with borders.

Best regards

Thomas

boardtc Rising Star Apr 11, 2013

In confluence 4.3.6 it seems one can't edit the markup anymore. Is there anyway of getting rid of a table border once created?

@Richard Morris Sadly. Nope. Still nothing. Actually... the reverse. Since you can't edit the HTML or the source anymore, we've actually moved BACKWARD on this. 

Confluence only cares about big customers now.

It would seem that Atlassian cares more about encouraging it's "marketplace" eco-system to nickle and dime it's customers on an already expensive product, rather than support those customers. Even on simple requests like this one.

"We've provided you with a wiki product that you have to purchase add-ons for, to use effectively! Customize a table? Nah! Buy an add-on! Add a border around that image? NOPE! You can buy ANOTHER add-on! Oh, and even though you will likely only use these things on occasion, we're going to charge you a recurring fee! Congratulations! You've won the 'FEELING TAKEN ADVANTAGE OF' award!!!"

Like # people like this

Table Plugin for Confluence will do what you want:

{table-plus:border=0|class=''}
|| header1 || header 2 ||
| cell11 | cell 12 | 
| cell 21 | cell 22 |
{table-plus}

Hey Bob,

exactly what I was just looking for :)

Thanks

Marco

So what you're saying is that Atlassian has essentially allowed for zero-border tables to be locked down behind your paid add-on that is not available for my several-thousand-user Cloud instance?

Like # people like this

So it's been 8 years since the original question: just wanted to check whether the Confluence product has improved tables since then, and now allows this basic thing - or has there been no improvement what-so-ever?

 

Thanks,
Richard.

Like # people like this

Hi all,

I would actually like to tie my post to what @Eric Rodewald asked back in 2018. Is there any solution for the cloud version because source coding it not allowed there.

Like Magdalena Polac likes this

@Richard Morris I'm a new client and I'm using the most up-to-date version of Cloud Confluence and the table in Editor does not *appear* to have a hide gridlines feature. 

Like Java Sparrow likes this

Really disappointed in this.  I hid table borders in Confluence server, and now trying to do it in Cloud.  I'm amazed there aren't more options for table properties in Confluence Cloud.  Don't get me started on not being able to put a border around an image anymore!

Like # people like this

They could at least add white to the table border colors!? 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events