Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Instructions

  1. Log into your Confluence instance, and create a new page or click or click to edit an existing page.
  2. Insert the Advanced Table - Table Plus macro and insert a table inside the macro. For this example, consider the following table inside the macro:

  3. Edit the macro and go to Column Settings > Formatting > Cog wheel (Show column attributes as shown:
  4. Update the attributes as per your requirement, with one of the following. underColumn attributes, and click Save settings
    Code Block
    themeMidnight
    For Left alignment use,

    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. 

The output

...

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:
Image Modified

Info

We recommend to test this

to be tested

in a non-production environment before implementing in the production.