Details
-
Bug
-
Resolution: Fixed
-
Low
-
8.2.0, 8.3.0, 8.4.0, 8.5.0, 8.1.4, 8.5.3
-
None
-
5
-
Severity 3 - Minor
-
5
-
Description
Problem
Text align center for Table header can be applied but doesn't stay once page is published in confluence.
Environment
Confluence Data Center 8.2.3
browser - safari and chrome, firefox as well.
Steps to Reproduce
- Create a page in confluence
- Insert Table in the page
- add text to table header , apply "text-align: center"
- The text will be in the center in edit mode
- Publish the page
- the text becomes left align
Expected Results
Table header Text should remain in the center
Actual Results
Table header Text shifts to left side
Workaround
Since the bug seems to be isolated to the header part, the workaround consists of removing the header row parameter and visually adjusting it:
- Edit the page with affected tables
- Click on the Heading row button once
- Highlight the first row
- Apply Bold
- Click on Change cell color
- Select Light Grey 100%
Visually, it will be identical to using a header row parameter, as you can see below:
Notes
Images attached from edit mode as well as published mode
page source
<table class="relative-table" style="width: 66.2383%;"><colgroup><col style="width: 31.1419%;" /><col style="width: 68.8581%;" /></colgroup> <tbody> <tr> <th scope="col" style="text-align: center;">column1</th> <th scope="col" style="text-align: center;">column2</th></tr> <tr> <td><br /></td> <td><br /></td></tr> <tr> <td><br /></td> <td><br /></td></tr> <tr> <td><br /></td> <td><br /></td></tr></tbody></table>
Attachments
Issue Links
- is caused by
-
CONFSERVER-81015 Table: Header announcing twice to the screen reader user and labels are verbose
- Closed