Skip to content

Instantly share code, notes, and snippets.

@bekapod
Created March 11, 2012 18:28
Show Gist options
  • Save bekapod/2017562 to your computer and use it in GitHub Desktop.
Save bekapod/2017562 to your computer and use it in GitHub Desktop.
CSS: Inline Block Hack
.inline-block {
display: inline-block;
/* IE7 hack to mimic inline-block on block elements */
*display: inline;
*zoom: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment