Loic: Div container

Beitrag lesen

Danke für Deine Hilfe,

ich habe folgendes schon hinbekommen:
So weit so gut

Leider bekomme ich die Elemente einfach nicht in die Mitte der Seite. Habe versucht bei den drei containern jeweils margin: auto einzufügen, aber das wird völlig ignoriert/es ändert sich nichts.

Hier mein Code (der übrigens viel übersichtlicher ist, Danke!!)

  
<html>  
  
<head>  
  <title></title>  
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />  
  
  <style type="text/css">  
  body { margin:0 auto; padding:0; min-width400px; max-width:1200px; background-color:#e2e2e2; }  
  div { border:0px; }  
  #s1 { width:900px; height:180px; position:relative; top:50px; }  
  #s2 { width:180px; height:543px; position:relative; top:50px;  }  
  #s3 { width:720px; height:900px; position:absolute; top:230px; left:180px;}  
  
  </style>  
</head>  
  
  
<body>  
  
<div id="s1"><img src="graphics/intern/obere_Leiste.jpg" width="900" height="180" alt="" border="0"></div>  
<div id="s2"><img src="graphics/intern/Aktuelles_a.jpg" width="180" height="90" alt="" border="0"><br>  
        <img src="graphics/intern/Anmeldung_a.jpg" width="180" height="55" alt="" border="0"><br>  
    <img src="graphics/intern/Gaestebuch_a.jpg" width="180" height="55" alt="" border="0"><br>  
    <img src="graphics/intern/Statistik_a.jpg" width="180" height="72" alt="" border="0"><br>  
    <img src="graphics/intern/About_a.jpg" width="180" height="55" alt="" border="0"><br>  
    <img src="graphics/intern/Zielscheibe.jpg" width="180" height="216" alt="" border="0"></div>  
<div id="s3"><img src="Untitled-2.jpg" width="720" height="900" alt="" border="0"></div>  
  
  
</body>  
</html>