Ich habe hier ein Problem, das ich gerade nicht gelöst bekomme.
Es geht im Wesentlichen, in der unten stehenden CSS um den Inhaltsbereich.
Dort habe ich innerhalb von #content in #content_left und #content_right unterteilt
Unter #content kommt #footer
Es ist auch so, dass left und right immer so hoch werden wie Inhalt darin ist. Und darunter erscheint auch wie gewünscht der footer.
Was ich erreichen möchte ist aber, dass left und right beide gleich hoch sind und sich jeweils am längeren der beiden orientieren.
Wie kann ich das lösen?
Vielen Dank!
Christoph
Es geht im Wesentlichen, in der unten stehenden CSS um den Inhaltsbereich.
Dort habe ich innerhalb von #content in #content_left und #content_right unterteilt
Unter #content kommt #footer
Es ist auch so, dass left und right immer so hoch werden wie Inhalt darin ist. Und darunter erscheint auch wie gewünscht der footer.
Was ich erreichen möchte ist aber, dass left und right beide gleich hoch sind und sich jeweils am längeren der beiden orientieren.
Wie kann ich das lösen?
Vielen Dank!
Christoph
Code:
#background {
position: relative;
width: 1300px;
margin: 0 auto;
background: url(/images/background.jpg);
}
#page {
width: 980px;
margin: 0px auto;
border: 0px solid red;
color: #ffffff;
}
#menu {
width: 100%;
height: 116px;
border: 0px solid red;
}
#menu_in {
margin: 30px 0px 0px 250px;
}
.menu_item {
margin: 0px 40px 0px 0px;
font-family: Helvetica;
font-weight: normal;
font-size: 20px;
}
#menu_counter {
color: #ffffff;
position: absolute;
font-family: Helvetica;
font-weight: normal;
font-size: 30px;
top: 30px;
left: 30px;
}
.menu_sponsor {
position: absolute;
background: url("/images/fritz.png");
top: 30px;
left: 1100px;
width: 62px;
height: 73px;
}
.menu_thw {
position: absolute;
background: url("/images/thw.png");
top: 30px;
left: 1180px;
width: 62px;
height: 73px;
}
#content {
width: 100%;
height: 100%;
color: black;
}
#content_left {
width: 70%;
height: 100%;
float: left;
background-color: #ffffff;
}
#content_right {
width: 30%;
height: 100%;
float: right;
background-color: #ffffff;
}
#content_header {
margin: 20px 0px 10px 50px;
font-size: 18px;
}
#footer {
clear: both;
}
.news_container {
margin: 10px 40px 10px 40px;
padding: 25px 30px 25px 30px;
border-top: 2px solid #3971a1;
font-size: 16px;
}
.news_container h1 {
font-size: 20px;
font-weight: bold;
padding:0;
}
.news_container img {
width:570px;
height:250px;
margin-bottom: 20px;
}
.right_container {
padding: 20px 0px 20px 20px;
margin-right: 20px;
border-bottom: 2px solid #3971a1;
}
.right_container img {
width: 223px;
height: 233px
}
.right_container h1 {
margin: 10 30 0 0;
padding-left: 10px;
border-bottom: 2px solid #3971a1;
font-size: 18px;
}
.Logo {
background-image: url("/images/logo_bsf.png");
background-repeat: no-repeat;
position: absolute;
repeat: no-repeat;
left: 205px;
top: 135px;
width: 336px;
height: 292px;
z-index: 119;
}
Zuletzt bearbeitet: