Clearing Floats 
Clearing Floats
by TheNetNinja
Video Lecture 5 of 12
Not yet rated
Views: 760
Date Added: August 11, 2016

Lecture Description

Yo ninjas, in this CSS positioning tutorial, I'll show you how to clear floats, so that elements below do not rise up underneath the floated elements.

We need to clear floats because floated elements are removed from normal document flow and essentially have no height within that normal flow. Clearing the floats, in essence, gives back the height to the element in normal document flow, so that elements below do not rise up behind the floated elements.

Pseudo Classes Video - www.youtube.com/watch?v=SlqUbzvuqDg&list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT&index=19

Course Index

Course Description

Hey ninjas, in these CSS positioning tutorials, I'll show you the best methods by which to position content on your web pages using CSS. We'll go from looking at normal document flow, through to floats and the position property in CSS. Sign up here for CSS positioning wizardary.

Comments

There are no comments. Be the first to post one.
  Post comment as a guest user.
Click to login or register:
Your name:
Your email:
(will not appear)
Your comment:
(max. 1000 characters)
Are you human? (Sorry)