Skip to content

Instantly share code, notes, and snippets.

@cherihung
Created April 4, 2013 18:16
Show Gist options
  • Save cherihung/5312736 to your computer and use it in GitHub Desktop.
Save cherihung/5312736 to your computer and use it in GitHub Desktop.
.fix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.fix
{
display: inline-table;
}
/* Hides from IE-mac \*/
* html .fix
{
height: 1%;
}
.fix {
display: block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment