Christoph: Div nebeneinander gleich lang.

Beitrag lesen

Hallo,

ich komme nicht weiter.
Und zwar habe ich eine HP in 3div's erstellt. Ein Kopf, Navigation und die main-Seite, Die Navi und Main sind nebeneinander.

Wie kann ich es anstellen, dass diese beiden div's immer gleich lang sind? Die Navi ist statisch und in main kommen verschieden lange Inhalte rein.

hier der css code:

/* layout */
body{
     font-family: Verdana, Arial, Helvetica, sans-serif;
     font-size:12px;
     margin-top:0px;
     margin-bottom:0px;
}
#page{
      margin:auto;
      background:#FADC46;
      width:1000px;
}
#header{
       height:100px;
       text-align:center;
       background:#64B464;
}
#navi{
      float:left;
      width:180px;
      background:#FADC46;
}
#main{
      float:right;
      width:820px;
      background:#f2f2f2;
}
#footer{
      margin:auto;
      width:1000px;
      height:15px;
      text-align:center;
      background:#64B464;
}

Vielen Dank