Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

No white space between border and text in first column

Edited

When creating a table in Confluence the text in the first column of the table is jammed up against the left border when viewing the page that the table is on. When editing, there is the expected amount of white space (probably one space worth). I didn't notice this in the past, but behavior seems to be on existing or newly-created tables.

Is anyone aware why this could be happening? There's no change if I left-justify the cell.

I am running 7.9.3 Data Center.

 

1 answer

0 votes
Bill Bailey Community Leader Dec 09, 2021

Has anyone installed custom CSS, either at the space or instance level? Has any new plugin/macro been installed that might have added new CSS rules?

The way to debug this is to look at three things:

  • View the storage format of the text in question to ensure there is not some inline CSS pasted into the cell.
  • Check that the content in each cell is wrapped by similar tags, e.g. p tags
  • Use the browswer inspect function to see if CSS rules are being overwritten (a way to check if some new CSS rules are overwriting the default ones)

To my knowledge, there is no custom CSS at the instance level and the behavior happens on any brand-new table that I create with just plain text in the field.

Nothing of consequence in the Storage Format and all of the tags are the same. Below is an example. Note that the bolded sections have zero white space between the text and the edge of the column, but the other cells do have white space (including the first 'Stuff' cell where I've added in a space).


<table><colgroup><col style="width: 50.0px;" /><col style="width: 54.0px;" /><col style="width: 50.0px;" /></colgroup>
<tbody>
<tr>
<th>Test</th>
<th>123</th>
<th>abc</th></tr>
<tr>
<td>&nbsp;Stuff</td>
<td style="text-align: left;">More</td>
<td style="text-align: left;">Stuff</td></tr>
<tr>
<td>abc</td>
<td>def</td>
<td>ghi</td></tr>
<tr>
<td><br /></td>
<td><br /></td>
<td><br /></td></tr></tbody></table>  
Bill Bailey Community Leader Dec 13, 2021

What happens if you reset the manual column widths to just float?

But still seems like some sort of CSS issue. I would try to see what rules are working to cause it. And try changing that text to be paragraphs (check the storage view make sure p tags are actually added).

I tend to write custom CSS to fix a number of spacing issues within the default CSS (just FYI)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.9.3
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

1,048 views 8 42
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you