Hallo,
<div>
<div> Menge Inhalt
</div>
</div>Fertig.
Danke für die Antwort, aber dies funktioniert leider nicht.
Zum besseren Verständnis mein CSS:
#backg {
min-height : 100%;
width : 780px;
position: relative;
margin : auto;
background-image : url("../images/backg.gif");
}
#forms {
min-height : 100%;
width : 760px;
position: relative;
margin : auto;
background-color : #003399;
}
#navbar {
min-height : 100%;
width : 160px;
background-color : black;
margin : 0;
padding : 0;
float : left;
overflow : auto;
position: absolute;
}
#right {
background-color : green;
background-image : url("../images/rightbackg.gif");
background-repeat : no-repeat;
background-position : 50% 50%;
width : 50px;
min-height : 100%;
margin : 0;
padding : 0;
float:right;
}
#body {
background-color : #ffffff;
left:160px;
right: 50px;
min-height:100%;
width :544px;
margin : 0;
padding : 0;
overflow : auto;
position: absolute;
}
HTML:
<div id="backg">
<div id="forms">
<div id="navbar"></div>
<div id="right"></div>
<div id="body"></div>
</div>
</div>
Ich möchte erreichen, dass die DIVs "backg" und "forms" die gleiche Höhe wie "body" (Höhe je nach Inhalt variabel, aber min. 100%) haben. Wie schaffe ich dies?
MfG,
Bewerber