Saschlong
Lt. Junior Grade
- Dabei seit
- Feb. 2004
- Beiträge
- 266
Hoi,
folgendes:
Ich habe zwei div's in einem Elternelemt.
Dieses sollte sich der vertikalen Ausdehnung seiner Kinder anpassen.
Tut's aber nicht und ich komme nicht darauf wieso...
So sieht es jetzt aus: http://v2.industrialpimps.de
Snippet HTML-Template:
Snippet CSS:
folgendes:
Ich habe zwei div's in einem Elternelemt.
Dieses sollte sich der vertikalen Ausdehnung seiner Kinder anpassen.
Tut's aber nicht und ich komme nicht darauf wieso...
So sieht es jetzt aus: http://v2.industrialpimps.de
Snippet HTML-Template:
HTML:
<!--
content
-->
<div id="content-container">
<!-- left -->
<div id="left-content">
###LEFT-CONTENT###
</div>
<!-- right -->
<div id="right-content">
###RIGHT-CONTENT###
</div>
</div>
Snippet CSS:
Code:
#content-container
{
position: absolute;
left: 106px;
top: 66px;
width:564px;
background-color: rgb(235,235,235);
z-index:1;
}
#left-content, #right-content
{
position: absolute;
top: 0px;
width: 46%;
padding: 0px 2% 2% 2%;
background-color: rgb(235,235,235);
}
#left-content
{
left: 0px;
}
#right-content
{
right: 0px;
}