This article explains how to align column data to the left or the right using Table Plus macro macro of the the Advanced Tables for Confluence app app.
- Log into your Confluence instance, and
- Insert the Advanced Table - Table Plus macro and insert a table inside the macro. For this example, consider the following table inside the macro:
- Edit the macro and go to Column Settings > Formatting > Cog wheel (> Show column attributes as shown:
- Update the attributes as required, underColumn attributes, and click Save settings.
Code Block For Left alignment use, theme Midnight
Enter either of the styles, style=text-align:left;For Right alignment use,
for left alignment and/or style=text-align:right; for right alignment, as required under Column attributes, and click Save settings.
contains data aligned to the left and/or right as specified in Column attributes. For the given example, the data is aligned to the left for the first
three columns and the right for the last
three columns as shown:
We recommend to test thisto be tested
in a non-production environment before implementing in the production.