Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

Simple macro to place your contents in an HTML div container

You can set it's ID and specify your CSS styles.

Macro renders an HTML div around the content you put in it's body with CSS styles you set.


Due to the bug in how Confluence renders user macros the contents of this div macro might be rendered incorrectly (outside div...)

Code Block
## @param Id:title=DIV ID|type=string|required=true|desc=DIV element ID
## @param Css:title=CSS Style|type=string|required=false|desc=CSS styles for this DIV container

<div id="$paramId" #if(${paramCss})style="${paramCss}"#end>