Forums

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

Aligning checkbox to center in div tag

Sanjeev Kumar
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!
December 1, 2025

At my workplace we use Confluence cloud and we have page that gets update by rest api.

Everything works fine but this code

```

<td colspan="1" style="display: grid; place-items: center;">
<div style="display: grid; place-items: center;">
<ac:task-list>
<ac:task>
<ac:task-status>incomplete</ac:task-status>
<ac:task-body>{data['release']}</ac:task-body>
</ac:task>
</ac:task-list>
</div>
</td>

```

does not render the checkbox align to the center of the cell .

 

all other cells in the table with just text works fine

<td colspan="1" style="text-align: center;">{jira_cell}</td>
this works fine and aligned to the centre.

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events