The Align macro allows to easily define the 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 macro has been developed as a simple way to align content.
Navigate to the page you want to edit.
- Click the position on the page where you want to insert the macro.
Click Insert More Content > Other Macros
Select the Align macro from the Macro Browser.
Select the desired alignment in the Insert macro screen.
Parameter Description Type Default Required
Aligns text and content:
Option to apply a custom CSS class to the element. Enter the CSS class name(s) to apply to the macro (case sensitive); multiple classes can be separated by a space or comma. Do not include the
.selector in the class name. Classes must be part of your Global Confluence CSS or defined in a CSS Stylesheet macro that you have added to your page.
Use the HTML Table macro property align to align Content Formatting tables.
Click Insert. The macro placeholder displays with space to add your content to the body of the macro.
Set the Alignment parameter to justify.
Set Alignment parameter to right.
Set Alignment parameter to left.
Set Alignment parameter to center.