Skip to content

Instantly share code, notes, and snippets.

@jahfer
Created June 24, 2012 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jahfer/2983694 to your computer and use it in GitHub Desktop.
Save jahfer/2983694 to your computer and use it in GitHub Desktop.
CSS: Clearfix
.group:before,
.group:after {
content:"";
display:table;
}
.group:after {
clear:both;
}
.group {
zoom:1; /* For IE 6/7 (trigger hasLayout) */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment