HTML and CSS Reference
In-Depth Information
Here is a quick recap of these classes:
• the
l
for left floating;
• the
fr
for right floating;
• the
cl
for clearing the floats.
l
(
(floatleft)
)
.fl {
float:left;
}
Floats elements on the
left
,
regardless of type.
fr
(
(floatright)
)
.fr {
float:right;
}
Floats elements on the
right
,
regardless of type.
cl
(
clearing
)
.cl {
clear:both;
}
Clears any above elements, both
on the left and on the right.