(adding the off-list mails in between) francky wrote: > [EMAIL PROTECTED] wrote: > >> okay - and once again you've provided an absolutely precise and detailed >> explanation of the question at hand. >> i get it too - in document flow, margins collapse (with the larger >> margin >> winning out, correct ? > > yep > >> (or is it the first element's margin taking precedence over the >> following >> element's margin...?) > > no, don't think so: "the maximum of the adjoining margin widths" is > winning > largest wins, not the first one (unless the 1st one is the > largest one :-) ). But while margins don't have an own background or > other recognizable thing, you cannot say if some part of the "combined > collapsed margin" is belonging to the bottom-part of the first one, or > to the top-part of the second one ... > > * In case of doubt: experiment and make some testpages! ;-) > [...] > >> and according to you, floated elements' margins aren't supposed to >> collapse >> (or merge) with the element above it - as floats are out of document >> flow - >> seems to make sense, professor! >> >> you know - this brings up the often overlooked subject of margin >> collapsing >> in general... something not often brought up in css discussions. >> i say this because seems i often run into margin problems - and i notice >> that not alot of books and manuals (online or print) seem to ever >> bring it >> up. >> [...] >> well, thanx again sir... > > On the css-d Wiki there's a special page about it, you know? > http://css-discuss.incutio.com/?page=CollapsingMargin
= = = = = then [EMAIL PROTECTED] wrote: >francky you wrote - > >"But while margins don't have an own background or >other recognizable thing, you cannot say if some part of the "combined >collapsed margin" is belonging to the bottom-part of the first one, or >to the top-part of the second one ..." > >...not sure i get this, seems to me one of the elements' margins has to win >out, either largest of: A) the first element's bottom margin - OR - B) the >second element's top margin. > >or else the top element's bottom margin should win out. > >don't think the browser would 'average' the margins, do you...? > >ANYWAYS... i appreciate your thorough analysis - many a webmaster thank you >i'm sure. > >thx again - more later! > >=francis= > > Hi Francis, Yes, I think you're making the right conclusions. What I meant (in a rather abstract way), is easier to illustrate in a html-page than in a mail. So please look on this illustrating page <http://home.tiscali.nl/developerscorner/css-discuss/illustration_collapsing-margins.htm>. Greetings, francky ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
