Bill Moseley wrote: > Should have started this way. Yes, you should :-) Everything shows up clearly now.
> Here's a one-stop example of the problem. > > http://hank.org/demos/corner.html Test with this: #corner2 > div > div {padding: 1px 0;} ...instead of this: #corner2 > div > div {border: 1px dashed blue;} ...and you'll end up with the same result. What you experience is a normal, but disturbing, case of "collapsing margins"[1], as specified in CSS2/2.1. One solution is to define a separator, like a margin or a border. You only need one on top and bottom, and you can correct the exact positioning of content by taking that 1px padding into account. regards Georg [1]http://www.w3.org/TR/CSS21/box.html#collapsing-margins -- http://www.gunlaug.no ______________________________________________________________________ css-discuss [EMAIL PROTECTED] 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/
