{float}
Plugin Version: from version
This macro allows content to 'float' to the left or right of the surrounding text.
Description
Other than 'side', the other parameters are standard CSS value for the properties of the same name.
Usage
Wiki Markup
{float:(right/left)|width=[css width]|background=[css color]|border=[css border]|margin=[css margin] padding=[css padding]}
Content to float.
{float}
Parameters
Name |
Required |
Default |
Description |
|---|---|---|---|
[default]/side |
|
The side to float on ('left' or 'right'). |
|
width |
|
CSS defining the width of the floating block. E.g. '200px'. |
|
background |
|
CSS defining the background colour or image. |
|
border |
|
CSS defining the border to put around the floating block. E.g. 'solid blue 1px'. |
|
margin |
|
CSS defining the margin to surround the block with. E.g. '5px'. |
|
padding |
|
CSS defining the padding inside the block. E.g. '5px'. |
Discussions