Column Macro

Used with the Section macro to define columns on a page. See   Working with page layouts and columns and sections .

Code examples

The following examples are provided for advanced users who want to inspect or edit the underlying markup for a Confluence page. 

Macro name: column

Macro body: Accepts rich text.

Parameter name Required Default Parameter description and accepted values

width

No 100% of the page width, divided equally by the number of columns in the section. The width of the column. Can be specified either in pixels (for example, 400px) or as a percentage of the available page width (for example, 50%).

Storage format example

<ac:structured-macro ac:name="column">
  <ac:parameter ac:name="width">100px</ac:parameter>
  <ac:rich-text-body>
    <p>This is the content of <strong>column 1</strong>.</p>
  </ac:rich-text-body>
</ac:structured-macro>     

Wiki markup example

{column:width=100px}
This is the content of *column 1*.
{column}


Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport