Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

No white space between border and text in first column

Matt Parks
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 9, 2021

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.

 

2 answers

0 votes
Marcus Bienengräber
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 18, 2022

Same problem. Page loads, seems to show the right space in the first columns. After very short time the changes to no space in the first column in all tables on all pages with all browsers.

No additional CSS. (Confluence Server 7.13.7)

0 votes
Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 9, 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)
Matt Parks
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 13, 2021

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 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
AUG Leaders

Atlassian Community Events