Skip to content

Instantly share code, notes, and snippets.

@overneath42
Created October 5, 2012 18:53
Show Gist options
  • Save overneath42/3841668 to your computer and use it in GitHub Desktop.
Save overneath42/3841668 to your computer and use it in GitHub Desktop.
Cross-browser inline-block
/* http://blog.mozilla.org/webdev/2009/02/20/cross-browser-inline-block/ */
li {
width: 200px;
min-height: 250px;
border: 1px solid #000;
display: -moz-inline-stack;
display: inline-block;
vertical-align: top;
margin: 5px;
zoom: 1;
*display: inline;
_height: 250px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment