On Thu, May 14, 2009 at 2:51 PM, David Laakso
<da...@chelseacreekstudio.com> wrote:
>
> There is no "bug" that I am aware of.
>

Actually, the following CSS does trigger the IE 6 doubled-margin float bug:

> li
> {
> float: left;
> margin: 0 0.15em;
> }

For details on this phenomenon, see
<http://www.positioniseverything.net/explorer/doubled-margin.html>.

The workaround is to apply "display: inline;" to the floated element.
Because floated elements are always treated as block elements, this
declaration has no side-effects in any standards-compliant browser.
And it will get rid of the extra space on the sides of your floated
<li> elements.

Erik
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to