Access Keys:
Skip to content (Access Key - 0)

align macro

Overview:

The {align} macro allows you to quickly and easily set the alignment of content...

There are many 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.

Parameters:

Add the macro to your page as follows:

{align:alignment}your content{align}
Parameter Required Default Notes
default justify The {align} macro only takes one parameter which is the alignment mode, this can be one of the following:
  • left Aligns text and content to the left of the page
  • right Aligns text and content to the right of the page
  • center Aligns text and content to the centre of the page
  • justify Justifies text and content to fit the width of the page (default)

Examples:

See Also:



Ask questions, get help and report bugs & issues on our Community Site

View old comments


Adaptavist Theme Builder Powered by Atlassian Confluence