Home → References → CSS Properties →
CSS Property: float
Specifies whether a fixed-width box should float, shifting it to the right or left with surrounding content flowing around it.
HTML Dog is hosted by Titan Internet
Possible Values
inheritleft- floats the box to the left with surrounding content flowing to the right.right- floats the box to the right with surrounding content flowing to the left.none(default)
Example
#boondoggle {
width: 20em;
float: left;
}

