kingofrap: Problem mit Inhalt

Beitrag lesen

Habe den Doctype verändert aber noch nicht hochgeladen wäre aber nett wenn mir einer helfen könnte das Problem in den Griff zu bekommen ohne mich auf neue Fehler aufmerksam zu machen :P

Code index.php:

<div class="main">

<div class="header">

<img border="0" alt="Der Header" src="template/images/header.jpg" /> </div>

<div class="menue">
  </div>

Menü

</div>

<div class="content">

Inhalt jeweils per PHP neu includet

</div>

</div>

Code css:

.header {
 margin-left: 100px;
 width : 658px;
 height : 137px;
}

.content {
 position : absolute;
 left : 130px;
 top : 95px;
}

.main {
 background-color: #FFFFFF;
 color: #666666;
 margin-right:50px;
 margin-left:50px;
   margin-top:50px;
 margin-bottom:50px;
}

.menue {
 margin-top : 0;
 margin-bottom : 0;
 margin-right : 0;
 margin-left : 4px !important;
 text-align : left !important;
 width : 160px !important;
 max-width : 160px !important;
 min-width : 160px !important;
 border-bottom: 1px solid #666666;
}

Hoffe ihr könnt damit was anfangen

Mein problem:

Content sollte hallt an einer bestimten Position stehen aber main soll sich an die Länge von content anpassen.´

MFG und 1000 Dank schonmal Daniel