-
-
Save dara/6054665 to your computer and use it in GitHub Desktop.
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
//using the technique from: http://colinaarts.com/articles/inline-block-and-you/ | |
@mixin cross-browser-inline-block { | |
display: inline-block; /* For normal, healthy browsers */ | |
* html & { /* for IE6 */ | |
display: inline; | |
} | |
*+html & { /* for IE7 */ | |
display: inline; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment