Created
April 21, 2011 12:46
-
-
Save Quinten/934409 to your computer and use it in GitHub Desktop.
inline-block in IE (finally)
This file contains hidden or 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
li { | |
display: -moz-inline-stack; /* Firefox 2 */ | |
display: inline-block; | |
zoom: 1; /* IE hack to trigger hasLayout */ | |
*display: inline; /* IE hack to achieve inline-block behavior */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment