Hallo Gemeinde^^
und zwar hab ich folgendes Problem:
wie man hier sehen kann, wird alles passabel angezeigt, jedoch weiß ich nicht, wie ich das Div mit dem Menü automatisch so hoch machen kann, wie das Div mit dem Inhalt ist…
CSS-Code:
[code]body
{background-color:#;
background-image:url(images/bg_2.jpg);
background-position:left top;
background-repeat:no-repeat;
padding-top: 200px;
}
#header1
{
position:absolute;
top:0px;
left: 150px;
border: solid 0px #FF0000;
width:20px;
height:150px;
background-image:url(images/design2_03.png);
text-align:center;
background-repeat:no-repeat;
background-position:left;
}
#header
{
position:absolute;
top:0px;
left:170px;
border: solid 0px #FF0000;
width:860px;
height:150px;
background-image:url(images/design2_04.png);
background-repeat:no-repeat;
background-position:center;
vertical-align:bottom;
}
.header
{
position:absolute;
top:0px;
left:170px;
border: solid 0px #FF0000;
width:860px;
height:150px;
background-image:url(images/design2_04.png);
background-repeat:no-repeat;
background-position:center;
vertical-align:bottom;
text-align:left;
}
#header2
{position:absolute;
top:0px;
left: 1030px;
border:0px solid #FF0000;
width:20px;
height:150px;
background-image:url(images/design2_05.png);
background-repeat:no-repeat;
background-position:right;
}
#menu
{
position:absolute;
top: 150px;
left: 150px;
bottom:100px;
border: solid 0px #0066FF;
width:340px;
height:133px;
min-height:470px;
background-image:url(images/design2_13.png);
background-repeat:repeat-y;
background-color:;
background-position:left;
padding-left:30px;
padding-right:30px;
padding-top:30px;
}
#inhalt
{
position: relative;
top: -58px;
left: 542px;
border:solid 0px #FF00FF;
width: 500px;
height:auto;
min-height:500px;
background-image:url(images/design2_14.png);
background-repeat:repeat-y;
background-color:;
background-position:right;
}
#footer1
{position:absolute;
top: 650px;
left: 150px;
border:solid 0px #FFFF00;
height:80px;
width: 20px;
background-image:url(images/design2_16.png);
background-repeat:no-repeat;
background-position:left;
}
#footer
{position: relative;
top: -58px;
left: 142px;
bottom:20px;
border:solid 0px #FFFF00;
height:80px;
width: 900px;
background-image:url(images/design2_16.png);
background-repeat:no-repeat;
}
#footer2
{position: absolute;
top: 650px;
left: 1030px;
border:solid 0px #FFFF00;
height:80px;
width: 20px;
background-image:url(images/design2_18.png);
background-repeat:no-repeat;
background-position:right;
}
.bottom
{position:absolute;
bottom:0px;
text-align:left;
}
.title
{
position:absolute;
bottom:22px;
text-align:left;
left: 514px;
width: 346px;
font:Arial, Helvetica, sans-serif;
font-size:1.1em;
color:#333333;
font-weight:bold;
}
#navigation a, #navigation a:visited , #navigation a:active {
display:block;
color:#000;
text-decoration:none ;
font-size: 13px;
font-family: Arial, Helvetica, sans-serif;
padding-left: 8px; padding-right: 8px;padding-bottom: 0px; padding-top:0px;
border-left:solid 0px #000;border-right:solid 0px #000;
line-height:px;
height:17px;
text-align:center;
background-color:#FFF;
padding-bottom: 2px;
border-bottom:dashed #333 0px;
white-space: nowrap;}
#navigation a:hover {color:#000000;
background:#CDCDCD;
text-decoration:underline ;
padding-bottom: 2px;
}
a:link, a:visited, a:active{ font-size: 13px;line-height: 18px;font-family: monospace,verdana,arial, helvetica, tahoma ,verdana, sans-serif; text-decoration:underline;color:#000;background-color:transparent;
}
a:hover{ background-color:#000;
color:#fff;
}
#aktiv
{
color:#000;
background-image:url(images/bg_aktiv.png);
background-repeat:repeat-x;
font-size:13px;
font-family:Arial, Helvetica, sans-serif;
padding-left: 8px; padding-right:8px;padding-bottom:2px; padding-top:0px;
border-left:solid 0px #000;border-right:solid 0px #000;
height:17px;
text-align: center;
white-space:nowrap;}
[/code]
und der php-code:
[code]
<?php include('menue.php'); include('navi.php');?>Die Schülerzeitung
des Julius - Motteler - Gymnasiums
Vielen Dank für eure HIlfe…