Oliver: DIV je nach Größe eines darinliegenden DIVs vergrößern

Beitrag lesen

Ach so :)

Ne:

<body>  
  <div id="distance"></div>  
  <div id="maincontainer">  
   <div id="menue">  
     {MENU NAME="MAIN"}  
   </div>  
   <div id="mail">  
      EMail:<br>  
      <EMAIL "info@familie-voelker.de"><br>  
      Letzte Aktualisierung:<br>  
      <LASTACT>  
   </div>  
   <div id="righttitel">  
    {TITELZEILE}  
   </div>  
   <div id="breadcrumb">  
    <BREADCRUMB>  
   </div>  
   <div id="rightcontent">  
    <div id="menue2">  
     {MENU NAME="SUB2"}  
    </div>  
    <div>  
     <!-- PHPCMS CONTENT START -->  
     {CONTENT}  
     <!-- PHPCMS CONTENT END -->  
     {SCRIPT}  
    </div>  
   </div>  
  </div>  
 </body>

und das css sieht jetzt so aus:

#distance {  
		width:1px;  
		height:50%;  
		margin-bottom:-280px; /* half of container's height */  
		float:left;  
		}  
  
#maincontainer {  
                margin:0 auto;  
                position : relative;  
                top: 5px;  
                width: 800px;  
                min-height: 560px;  
				height:auto;  
                left: auto;  
                right: auto;  
                overflow: visible;  
				border:1px dashed #b9821a;  
				padding-bottom:20px;  
				clear:left;}  
  
#rightcontent {position : relative;  
              color: #000000;  
              top : 70px;  
              left : 190px;  
              width: 590px;  
              min-height: 350px;  
			  height:auto !important;  
              padding-top: 5px;  
              overflow: visible;  
			  border:1px solid #b9821a;}