Previous Message
Next Message

Using clearing elements to prevent margin collapse

Sent by Steve Clay on 12 July 2004 14:02


Saturday, July 10, 2004, 8:12:01 PM, Michael Ryznar wrote:
MR> Does anybody know how to make clearing elements behave better in
MR> preventing margin collapse?

You could try a less than 1px-wide bottom border on your clearing element
(or maybe 1px the color of your background).

Steve
-- 
http://mrclay.org/ * http://frenchhorns.mrclay.org/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread:

Possibly related: