August Shamino wrote: > [...] Why does adding a border cause the unintended margins to > disappear? And removing the border adds back the unintended margins?
You're probably experiencing the standard behavior of 'Collapsing margins'... <http://www.w3.org/TR/CSS21/box.html#collapsing-margins> ...where the top and/or bottom margin on some element inside your div-construction, maybe defaults on a paragraph, is escaping its container(s). A number of properties: values will prevent such an escape. The mentioned 'border: (some width)' is one of them and 'position: absolute' is another. regards Georg -- http://www.gunlaug.no ______________________________________________________________________ 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/
