I have 3 columns theme and I would like to have all columns same height. Height of column left and right are fixed and should be the same as dynamic height column middle.
layout code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<div id="container">
<div id="sidebar-left">Sidebar left</div>
<div id="sidebar-middle">BIG SIDEBAR MIDDLE</div>
<div id="sidebar-right">Sidebar right</div>
</div>
</body>
</html>
'
CSS code:
html,
body {
height:100%;
background:#FFEE33;
}
#container {
min-height:100%;
background:#FFAA00;
}
#sidebar-left,
#sidebar-right{
float:left;
width:33%;
min-height:100%;
background:#FF0000;
}
#sidebar-middle {
float:left;
width:33%;
height:2000px;
background:#444;
}
Is this possible to make only in CSS? Appreciate any help.