Created
June 9, 2014 04:12
-
-
Save dukeofgaming/d13c49de65750708531c to your computer and use it in GitHub Desktop.
IE7 display inline-block parse 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
/*Taken from: http://flipc.blogspot.com/2009/02/damn-ie7-and-inline-block.html*/ | |
div.content_block{ | |
display: inline-block; /*The way other browsers work correctly*/ | |
/*IE7*/ | |
zoom: 1; /*Meaningless for other than IE*/ | |
*display: inline; /*Asterisk parse hack, ignored by smarter browsers*/ | |
_height: Xpx; /*IE6 only parse hack, where X is the desired height*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment