Skip to content

Instantly share code, notes, and snippets.

@javierarce
Created August 29, 2011 11:40
Show Gist options
  • Save javierarce/1178230 to your computer and use it in GitHub Desktop.
Save javierarce/1178230 to your computer and use it in GitHub Desktop.
inline-block hack
.selector {
display: -moz-inline-stack; /* FF2*/
display: inline-block;
vertical-align: top; /* BASELINE CORRECCIÓN*/
zoom: 1; /* IE7 (hasLayout)*/
*display: inline; /* IE */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment