Dashboard > Atlassian Plugins > ... > Macros > float
  Atlassian Plugins Log In | Sign Up   View a printable version of the current page.  
  float

Added by David Peterson , last edited by David Peterson on Jul 11, 2007  (view change)
Labels: 

{float}

Plugin: Composition Plugin

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

{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'.

Examples

Float content to the right.
{float:right|width=200px|background=brown}
This is floated to the right.
{float}
Image with a caption.
{float:left}
!image.jpg!
An image with a caption.
{float}

Copyright(c) CustomWare Asia Pacific Pty Ltd
Powered by Atlassian Confluence 2.7.3, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators