Sunday 18 August 2019

The float Property

In its simplest use, the float property can be used to wrap text around images.
The following example specifies that an image should float to the right in a text:
img {
    float: right;
    margin: 0 0 10px 10px;
}