-----Original Message-----
From: Nick Fitzsimons [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006 10:01 AM
To: Storm, Dan
Cc: css-d@lists.css-discuss.org
Subject: Re: [css-d] IE6 Handling of Margins In Floated DIVs

> If I set a container 600 pixels wide and put three 200 pixel wide 
> container DIVs inside FF1.5 is happy and so is IE6. As I add left and 
> right padding and/or left and right borders, stepping up the container 
> width proportionally keeps both browsers happy. If, however, I step up 
> the margin (with or without padding or borders)  IE needs more 
> container width.
>

Dan,

There's a good chance you're seeing the IE doubled float margin bug, described 
(with workaround) at:
<http://www.positioniseverything.net/explorer/doubled-margin.html>

HTH,

Nick.
--
Nick Fitzsimons
http://www.nickfitz.co.uk/
====

Nick, you are quite right. It is only the left-margin of the *first* floated 
DIV that has been replicated, and therefore IE needed only one extra pixel for 
the container. To further test this I assigned 10 pixels to the margin, and 
needed only to increase the container by 10 pixels. The proposed fix, display: 
inline, does indeed resolve the issue.

Thanks,

dan storm ~ web developer ~ [EMAIL PROTECTED] ~ w: 206.266.0292 ~ c: 
425.503.9580


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to