Hi, ich habe ein Div im Div. Das Innere ist mit Thumbernails gefüllt. Es passen ca. 5 Bilder in das Div. Ich möchte, dass sich das innere Div immer genau mittig ausrichtet, egal, wieviele Bilder sich darin befinden. Sind es z.B. nur 3, soll der Container trotzdem mittig sein. ich hoffe ihr versteht, was ich meine. So, wie ich es jetzt habe klappts irgendwie nicht. Gruß, Max
<div id="fcontent">
<div id="contenttext"
<img src="bild1.jpg" width="112" height="150" alt=""/></a>
<img src="bild1.jpg" width="112" height="150" alt=""/></a>
<img src="bild2.jpg" width="112" height="150" alt=""/></a>
<img src="bild3.jpg" width="112" height="150" alt=""/></a>
<img src="bild4.jpg" width="112" height="150" alt=""/></a>
</div>
</div>
#content {
width:930px;
height: 300px;
background:#000;
}
#contenttext {
position:absolute;
margin: -150px 0 0 auto;
top:50%;
left:50%;
width: auto;
height:300;
}