Mike: DIV so gross wie parent DIV

Beitrag lesen

Hallo Gunnar,

danke schonmal für deine Hilfe.
Ich habs ausprobiert, leider funktioniert das ganze so leider nicht. Ich geb dir mal den genauen CSS Code, vielleicht kannst du mir ja nochmals helfen.

  
html  
{  
	width: 100%;  
	overflow:auto;  
}  
	  
body  
{  
	display: table;  
	width: 100%;  
	background: black;  
	margin: 0;  
	padding: 0;  
	height:100%;  
	top: 0px;  
	overflow: auto;  
}  
  
#maincontainer  
{  
	display: table-row;  
	position:absolute;  
	border: solid 1px #666;  
	border-bottom: 0px;  
	border-top: 0px;  
	padding: 0px;  
	padding-bottom: 50px;  
	margin: 0px 0px 0px -500px;  
	width: 1000px;  
	left: 50%;  
	min-height:95%;  
	height:auto;  
	top: 0px;  
	background: #333;  
	background-attachment:fixed;  
	background-position:50% 50%;  
}  
  
#menu_left  
{  
	display: table-cell;  
	margin-right: 35px;	  
	margin-bottom: 0px;  
	padding-top: 30px;  
	padding-left:10px;  
	width: 160px;  
	height: 100%;  
	background: rgba(0, 0, 0, 0.5);  
	border-right: 2px solid grey;  
}

Besten Dank.
Mike

html, body

{
height: 100%;
margin: 0;
padding: 0;
}

body
{
display: table;
}

body>div
{
background: yellow;
display: table-row;
height: 100%;
}

body>div>div
{
background: red;
display: table-cell;
height: 100%;
}


>   
> Qapla'