The float property for CSS specifies whether a box should float to the left, right, or not at all.
object.style.float = "value";
<'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.
inherit
Specifies the same value as the parent.