Gino: Frage zu margin

Beitrag lesen

<style type="text/css">
body { margin:0px;background-color: red;}

#container_aussen {
  width:990px;
  margin:auto; ????Was soll das? erst auto
  margin-top:0; dann fest? Wieder ohne px!
  background-color: green;
}
#container {
  margin-left:20px;
  margin-right:30px;
  margin-top: 10px;

background-color:white;
}

Schöner wär ja die Notation so:
body { margin:0px;background-color: red;}

.container {
position : relative;
width : 990px;
background-color: green;
}

.container.Inhalt {
margin : 10px 30px 0px 20px;
}

</style>

<title>TEST</title>
</head>
<body>
  <div class='container'>
    <div class='Inhalt'>
      Content im container
    </div>
  </div>
</body>
</html>