Greetings, 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:
<!doctype html public "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title> new document </title> <style type="text/css"> #in { width: 40px; height:40px; margin-top:50px; background-color:red; } #out { width: 300px; height:300px; background-color:black; } </style> <script type="text/javascript"> </script> </head> <body> <div id="out"> <div id="in">in</div> </div> </body> </html> _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ______________________________________________________________________ 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/