Float

Description

This macro allows content to "float" to the left or right of the surrounding text.

Other than side, the other parameters are standard CSS values for the properties of the same name.

This macro is currently not available on Cloud.

Macros will be migrated along with the page, and no data will be lost after migration. On Cloud, the macros will not function, but the contents are shown in both View mode and Edit mode. In Edit mode, they will also be marked as (Legacy). More details are available on this FAQ page.

Parameters

Name

Required

Migratable to Cloud?

Default Value

Description

[default] / side

 Optional

No

 

The side to float on. Either:

· left

· right

width

 Optional

No

 

· CSS defining the width of the floating block.

· e.g.: 200px

background

 Optional

No

 

CSS defining the background colour or image. 

border

 Optional

No

 

· CSS defining the border to put around the floating block. 

· e.g.: solid blue 1px

margin

 Optional

No

 

· CSS defining the margin to surround the block with. 

· e.g.: 5px

padding

 Optional

No

 

· CSS defining the padding inside the block.

· e.g.: 5px

 

Editor View

  • Not available.

Macro Edit View

  • Not available.

Notes

  • Not available. 

Tutorial Examples