Skip to content

Instantly share code, notes, and snippets.

@adamstac
Created April 14, 2009 20:41
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 adamstac/95414 to your computer and use it in GitHub Desktop.
Save adamstac/95414 to your computer and use it in GitHub Desktop.
/* -----------------------------------------------------
P.I.E. FLOAT CLEARING
www.positioniseverything.net/easyclearing.html
----------------------------------------------------- */
.clearfix:after { clear: both; content: "."; display: block; height: 0; visibility: hidden; }
/* Fixes IE/Mac */
.clearfix { display: inline-block; }
/* Hides from IE-mac \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* End hide from IE-mac */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment