CSS Float

by Prasun Roy 02-Jul-16

39 0 395

Floating elements are used for move the content like (img, div, text) etc are shifted to the left or right side of the current position.

Float values are: None, Left, Right

Example:

Float: none; it will Removes the float property from a content.
Float: left; it will shifted the content to left side.
Float: right; it will shifted the content to right side.


Share:

Comments

Leave a Reply