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,366,363
Community Members
 
Community Events
168
Community Groups

Reset table column width

Edited

I have a table in Confluence Cloud where I manually adjusted the column width. How do I reset the column width so that it's automatically resized by Confluence and doesn't fix the column width to what I manually set?

Basically I'd like to reset the column property back to default.

2 answers

0 votes

I came here with the same problem, I ended up finding my own solution.

If you are comfortable with editing HTML, open the source editor via the '< >' icon at top right.

Scroll through the page code until you find the top of the table.  

Remove the width attribute from the table tag
Remove the <colgroup> set.

When you exit the editor, it will replace the colgroup set with empty values

<colgroup>
  <col />
  <col />
  <col />
</colgroup>

That seemed to work for me.

0 votes

Hi @JD Stuart

The quickest method is to add a new table.

Confluence will react to the table and the contents within it, so it depends on the number of columns - and as you add or remove columns, it will re-size to consider the size of the page and the columns within it.

If you want to reset your table - adding a new one (or removing and re-adding columns to an extent), will help get to those sizes.

Ste

@Stephen Wright _Elabor8_ I tried that but as soon as I copy over a column from the table whose width I'd like to reset, it copies the width of that column as well. I can retype it, but in a table with 50 rows that's a lot of work.

Like Alexa Kernchen likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events