Created
November 22, 2010 18:36
-
-
Save chrisyour/710397 to your computer and use it in GitHub Desktop.
How to make display:inline-block; compatible with IE 6 and IE 7
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
// One of the biggest problems with Internet Explorer 6 and 7 is the lack of display:inline-block support. | |
// I use inline-block all the time. It's very handy. I'm ready to bug test in IE and of course, the main CSS problems | |
// are with inline-block. | |
// Using Compass you can remove that pain. Compass has cross-browser support for inline-block. | |
// Enjoy. | |
@import "compass/css3/inline-block"; | |
ul{ | |
li{ | |
@include inline-block; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment