Skip to content

Instantly share code, notes, and snippets.

@albertgrala
Created December 6, 2012 17:07
Show Gist options
  • Save albertgrala/4226142 to your computer and use it in GitHub Desktop.
Save albertgrala/4226142 to your computer and use it in GitHub Desktop.
CSS: float-clearing
/* clearfix */
.group:before,
.group:after {
content: "";
display: table;
}
.group:after {
clear: both;
}
.group {
zoom: 1; /* IE6&7 */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment