Skip to content

Instantly share code, notes, and snippets.

@chrisyour
Created November 22, 2010 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisyour/710397 to your computer and use it in GitHub Desktop.
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
// 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