view table border within panel

I discovered that the confluence framework CSS that is used specifically calls out to not have a table border while inside a panel. I would like to be able to enable or disable the border attribute at will.

There is a CSS Stylesheet macro in confluence but I have not been able to find some working examples. If this macro would overwrite the CSS hierarchy then this would be an easy solution.

3 answers


Hi Terrence, an easy way to acomplish such is by using the Table Plugin for Confluence as described in this thread. This was raised to the Confluence dev team as a concern here but has been closed since then.

There is a customer proposed workaround in the ticket thread:

1. go to the space admin
2. choose Look And Feel > Stylesheet > Edit
3. paste the following:
.panel table.confluenceTable th.confluenceTh,  
.panel table.confluenceTable td.confluenceTd {  
    border-width: 1px !important;  
    border-style: solid !important;  
    border-color: #DDDDDD !important;  
}

Hope it helps.

Worked like a champ! Many Thanks, and I hope this week is a good one for you! Terrence ~

Great to hear that, please mind to mark this answer as accepted(top right checkmark, should turn green) as such we can help other people too!

Guilherme,

Thanks for that, I've just tried it an it works perfectly. I'll be adding this to our Confluence admins knowledge database.

Cheers.

Great to hear that, please mind to mark this answer as accepted(top right checkmark, should turn green) as such we can help other people too!

Note that behaviour you're seeing only pertains to the Documentation Theme so if you're using the Default Theme you won't need this workaround.

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,526 views 25 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