- From: Patrick Garies <pgaries@fastmail.us>
- Date: Wed, 29 Apr 2009 08:33:22 -0500
- To: Aryeh Gregor <Simetrical+w3c@gmail.com>
- CC: www-style@w3.org
Aryeh Gregor wrote: > On Tue, Apr 28, 2009 at 10:20 AM, Niels Matthijs > <niels.matthijs@internetarchitects.be> wrote: > > I know the ways to "fix" the collapsing margin issue, but I don't > > see why we should keep on fixing it while there is an obvious need > > for standardized control. Especially since there is not one > > perfect, harmless way to fix this. > > Is there any harm from adding a near-zero amount of padding? Or does > that not cover all use-cases? (Granted that it's not elegant.) As far as precision control goes, that doesn't solve the problem. If you kill the margins that way, you'll always have, at least, one undesired pixel of padding; in Mozilla Firefox, Opera, Safari, and Windows Internet Explorer, setting the margins to any value that rounds to zero pixels results in margins collapsing anyway. — Patrick Garies
Received on Wednesday, 29 April 2009 13:34:15 UTC