Menu Samaritan's Purse

FLOAT

The float property specifies whether a box should float to the left, right, or not at all.

SYNTAX

CSS

float: value;

JS

object.style.float = "value";

VALUES

<'float'> = left | right | none | inherit
left

Generates a block box that is floated to the left.

right

Generates a block box that is floated to the right.

none

Not floated.

inherit

Specifies the same value as the parent.

INITIAL

none

EXAMPLES

LEFT

NONE

RIGHT

JS

INTERNAL

clear

EXTERNAL

World Wide Web Consortium (W3C)