Skip to end of metadata
Go to start of metadata

Description

The Align macro allows 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

Click Insert > Other Macros.

 

Select the Align macro from the provided list.

 

Complete the desired fields.

ParameterDescriptionType

Default

Required?
Alignment

Aligns text and content:

  • Left
  • Right
  • Center
  • Justify (Justifies text and content to fit the width of the page)

single select

justify

(tick)

ClassSpecifies a CSS Class to be added.textnone(error)

Use the HTML Table macro property "align" to align Content Formatting tables.

 

The macro will then appear on the page, with space to add any content into the body of the macro.

Examples

Justify Aligning text

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

With Alignment parameter set to justify.

That results in the following:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam fermentum vestibulum est. Cras rhoncus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed quis tortor. Donec non ipsum. Mauris condimentum, odio nec porta tristique, ante neque malesuada massa, in dignissim eros velit at tellus. Donec et risus in ligula eleifend consectetur. Donec volutpat eleifend augue. Integer gravida sodales leo. Nunc vehicula neque ac erat. Vivamus non nisl. Fusce ac magna. Suspendisse euismod libero eget mauris.

Right Aligning text

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

With Alignment parameter set to right.

That results in the following:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam fermentum vestibulum est. Cras rhoncus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed quis tortor. Donec non ipsum. Mauris condimentum, odio nec porta tristique, ante neque malesuada massa, in dignissim eros velit at tellus. Donec et risus in ligula eleifend consectetur. Donec volutpat eleifend augue. Integer gravida sodales leo. Nunc vehicula neque ac erat. Vivamus non nisl. Fusce ac magna. Suspendisse euismod libero eget mauris.

Left Aligning text

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

With Alignment parameter set to left.

That results in the following:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam fermentum vestibulum est. Cras rhoncus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed quis tortor. Donec non ipsum. Mauris condimentum, odio nec porta tristique, ante neque malesuada massa, in dignissim eros velit at tellus. Donec et risus in ligula eleifend consectetur. Donec volutpat eleifend augue. Integer gravida sodales leo. Nunc vehicula neque ac erat. Vivamus non nisl. Fusce ac magna. Suspendisse euismod libero eget mauris.

Centre Aligning text

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

With Alignment parameter set to center.

That results in the following:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam fermentum vestibulum est. Cras rhoncus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed quis tortor. Donec non ipsum. Mauris condimentum, odio nec porta tristique, ante neque malesuada massa, in dignissim eros velit at tellus. Donec et risus in ligula eleifend consectetur. Donec volutpat eleifend augue. Integer gravida sodales leo. Nunc vehicula neque ac erat. Vivamus non nisl. Fusce ac magna. Suspendisse euismod libero eget mauris.

 

See Also:

 

 

Top of page

 

 

  • No labels