• Confluence is currently running with all non-system plugins disabled, some functionality may be missing

Page tree

Versions Compared

Key

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

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.

Warning

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>
$body
</div>

...