Subscriber only lesson.
Sign up to this course to view this lesson.
Float and Clear
Positioning things on the left or right is done using float.
When to use
Anytime you want to position something on the left or right, use float.
To position something on the left:
To position something on the right:
To clear things after floats:
Hints & tips
- You can float left with float: left;
- You can float right with float: right;
- You need to clear things after floating with clear: left; or clear: right;
Lesson notes are only available for subscribers.