itay Malin wrote: > I try to give the inside div a margin, what realy happens that the > outside div gets it. I can solve it by giving the outside div a > padding, but I don't think this is the right solution:
It is _one_ of the right solutions for 'collapsing margins'[1], but there are a few others. They all have pros and cons, so you'll have to pick the one that suits your design. I prefer 'floating' myself - whenever possible. 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 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/