Всем привет.
Столкнулся с одной проблемой, не могу растянуть DIV во всю высоту контента height:100%; не работает.
Может кто подскажет как правильно сделать.
Мне нужно чтобы все div-ы вложенные в <div class="container"></> растягивались на всю высоту до подвала.
Вот мой код:
HTML
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Верстка DIV</title>
<link href="css/template.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="basis">
<div class="inbasis">
<div class="header">HEADER</div>
<div class="container">
<div class="lefttab"> </div>
<div class="mainmenu">
<div class="inmainmenu">MENU</div>
</div>
<div class="incontainer">
<div class="righttab"> </div>
<div class="content">
<div class="incontent">CONTENT</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">FOOTER</div>
</body>
</html>
CSS
body {height: 100%;font: 75%/125% Times;margin: 0px;padding: 0px;}
HTML {height: 100%;}
.basis {min-height:100%;}
.inbasis {padding-bottom: 95px;}
.header {background: #BFF08E;height:220px;}
.inheader {}
.container {background-color: #0FF;}
.incontainer {margin-left: 220px;}
.content {background-color: #9FF;}
.incontent {}
.mainmenu {width: 200px;background-color: #FF9;float: left;border-right-width: 1px;border-left-width: 1px;border-right-style: solid;border-left-style: solid;border-right-color: #999;border-left-color: #999;}
.inmainmenu {}
.lefttab {width: 20px;background: #CCC;float:left;}
.righttab {width: 20px;background: #CCC;float: right;border-left-width: 1px;border-left-style: solid;border-left-color: #999;}
.footer {height: 95px;margin-top: -95px;background: #BFF08E;}
.infooter {}
Заранее благодарен за помощь.