Previous Message
Next Message

Bug or standards compliant? Applied margins to an inner div cause outer div to weirdly collapse if it has no borders.

Sent by Steve Clay on 14 October 2005 01:01


Thursday, October 13, 2005, 5:13:15 PM, Sascha wrote:
> http://www.andybudd.com/archives/2003/11/no_margin_for_error/
> But still. I added position: relative to the elements in question to no
> avail.

Position:absolute /does/ eliminate the collapsing, but you're right,
relative doesn't.  This may be a corner of the spec that few, if any,
browsers have implemented.

Steve
-- 
http://mrclay.org/ : http://thefrenchhorns.com/

______________________________________________________________________
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: