Hallo,
ich habe einen Container in einem Anderen liegen. Der Äussere hat eine Breite von 100% und der inner hat eine Breite von 1150px und ist zentriert.
In den inneren Container wird der Inhalt ausgegeben, dies funktioniert auch aber der Äussere Container (da ist ein HG-Bild drinnen) passt sich nicht automatisch an.
<div id="content-full">
<div id="center">
<div id="content">###JCB-CONTENT###
<div id="image">###JCB-IMAGE###</div>
</div>
</div>
</div>
~~~~~~css
#content-full{
height:auto;
background-color:#fafbfc;
width:100%;
background-image: url(../img/bg-bottom.jpg);
background-position:bottom;
background-repeat:repeat-x;
border-bottom:5px solid #f8ae25;
}
#content{
height:auto;
padding: 10px 100px 150px 100px;
}
#center{
width: 1150px;
margin: auto;
position: absolute;
left: 50%;
margin-left: -575px;
}