Created
March 11, 2012 18:28
-
-
Save bekapod/2017562 to your computer and use it in GitHub Desktop.
CSS: Inline Block Hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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