Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.