Content Formatting Macros for Confluence Server and DC

Align

The Align macro allows for the effortless alignment of content.

There may be times when you want to set the alignment of text, only to find that the html macro has been disabled or the html-tag macro has been configured not to allow div tags, etc. The Align user macro has been developed as a simple way to align content.

Usage

  1. Go to the form you wish to edit.

  2. Click Edit

  3. Click Insert More Content, and select Other Macros.

  4. Type align into the search bar and select the Align maco.

    align 02
  5. Complete the desired fields.

    Parameter Description Type Default Required

    Alignment

    Aligns text and content:

    * Left

    * Right

    * Center

    * Justify

    single select

    justify

    check

    Class

    Specifies a CSS Class to be added

    text

    none

    error
    Use the HTML Table macro property align to align Content Formatting tables.
  6. The macro will then appear on the page, with space to add any content into the body of the macro.

    align 03

Examples

Justify Aligning Text

The following example shows how to justify align a block of text.

Set Alignment parameter to justify.

align 04

An example of justified text is as follows:

align justified

Right Aligning Text

The following example shows how to right align a block of text.

Set Alignment parameter to right.

align 05

An example of right aligned text follows:

align right

Left Aligning Text

The following example shows how to left align a block of text.

Set Alignment parameter to left.

align 06

An example of left aligned text follows:

align left

Center Aligning Text

The following example shows how to center align a block of text.

Set Alignment parameter to center.

align 07

An example of center aligned text follows:

align center