Firesheep: Css Container bau

Beitrag lesen

Ich versuche die 3 div in den Schwarzen div rein zu kriegen das man die in der Mitte zentrieren kann.

<html>
<head>
<style type="text/css">
<!--
body
    {
    }

#div0
    {
z-index: 0;
overflow: hidden;
         position:               center;
margin:auto;
background-color:    black;
         height:                   500;
         width:                   640;
top:                       50;
left:50;
float: center;
   }
#div1
    {
         position:               absolute;
background-color:    #2E8B57;
         height:                   500;
         width:                    640;
top:                       50;
left: 50;

}
#div2
    {
         position:                  absolute;
         background-color:      FFFF00;
          height:                   500;
         width:                    360;
top:                       50;
left: 50;

}
#div3
    {
         position:                 absolute;
         background-color:      #FF0000;
          height:                   200;
         width:                    360;
top:                       50;
left: 50;

} 	  

}
-->
</style>
</head>
<body>
<div class="breaker"></div>
<div id="div0"></div>
<div id="div1"></div>
<div id="div2"></div>
<div id="div3"></div>

</body>
</html>