From 419f2d3e413f227e93ab7df33fe443b114ddf0a8 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Tue, 21 Oct 2008 22:51:10 -0700 Subject: [PATCH] A cross-browser inline-block mixin that supports ie6-8, ff2-3, opera, and webkit. --- .../compass/stylesheets/compass/utilities/_general.sass | 1 + .../compass/utilities/general/_inline_block.sass | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass diff --git a/frameworks/compass/stylesheets/compass/utilities/_general.sass b/frameworks/compass/stylesheets/compass/utilities/_general.sass index adc31feb..984c1cab 100644 --- a/frameworks/compass/stylesheets/compass/utilities/_general.sass +++ b/frameworks/compass/stylesheets/compass/utilities/_general.sass @@ -1,3 +1,4 @@ @import general/reset.sass @import general/clearfix.sass @import general/tag_cloud.sass +@import general/inline_block.sass diff --git a/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass b/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass new file mode 100644 index 00000000..94cd1357 --- /dev/null +++ b/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass @@ -0,0 +1,6 @@ +=inline-block + :zoom 1 + :display inline + :display -moz-inline-box + :display inline-block + :vertical-align top