From 4de1645c959edda2f78f4a27b28c1f135e88a9b9 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 25 Apr 2010 19:06:42 -0700 Subject: [PATCH] update the docs for compass/utilities/general/float --- .../reference/compass/utilities/general/float.haml | 6 ++++-- .../compass/utilities/general/_float.scss | 14 ++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc-src/content/reference/compass/utilities/general/float.haml b/doc-src/content/reference/compass/utilities/general/float.haml index f513bf7a..a31bfb86 100644 --- a/doc-src/content/reference/compass/utilities/general/float.haml +++ b/doc-src/content/reference/compass/utilities/general/float.haml @@ -11,5 +11,7 @@ classnames: - utilities --- - render 'reference' do - %p - Lorem ipsum dolor sit amet. + :markdown + This module provides mixins that help you work around the + [double-margin bug in IE5/6][dmb]. + [dmb]: http://www.positioniseverything.net/explorer/doubled-margin.html diff --git a/frameworks/compass/stylesheets/compass/utilities/general/_float.scss b/frameworks/compass/stylesheets/compass/utilities/general/_float.scss index f3666450..8c2d2a02 100644 --- a/frameworks/compass/stylesheets/compass/utilities/general/_float.scss +++ b/frameworks/compass/stylesheets/compass/utilities/general/_float.scss @@ -1,17 +1,15 @@ -//**\\ -// Float - -@import "clearfix"; - -// Implementation of float:left with fix for double-margin bug +// Implementation of float:left with fix for the +// [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html) @mixin float-left { @include float(left); } -// Implementation of float:right with fix for double-margin bug +// Implementation of float:right with fix for the +// [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html) @mixin float-right { @include float(right); } -// Available as alternate syntax with just +float +// Direction independent float mixin that fixes the +// [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html) @mixin float($side: left) { display: inline; float: $side; }