Divbox

A macro where you can apply css to style the content of the macro.

On this page



Macro setup

Divbox

Macro key: rw-divbox (or divbox)

Macro body: Yes.

Promoted: No.

 



Using the Divbox macro

To add the Divbox macro to a page:

  1. In the Confluence editor, choose Insert > Other Macros.
  2. Find and select the Divbox macro.

To add the Divbox macro to a dashboard:

  1. In the Dashboard Editor, open the Macro Browser and select RefinedWiki's macro Divbox, or search for rw-divbox or divbox.

Parameters

Parameters are options that you can set to control the content or format of the macro output. When the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example).

Parameter

Default

Description

Available since

Style

(style)

 

You can customize the div box with CSS.  
Example 
background:#b4f6b4; 
border: 1px  solid #cccccc;

1.0

Class

(class)

 

Add a CSS class to a divbox.

1.3.1

Demo

This divbox has the following parameters:

style: background:#7d9bc3;max-width:250px;