JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<body>
<div class="wrapper">
<div class="header">
<h1>header</h1>
</div>
<div class="content">
<div class="leftPanel">
<div id="leftContent">
leftPanel
</div>
</div>
<div class="centerPanel">
<div id="centerContent">
center Panel
</div>
</div>
</div>
<div class="footer">
<p>footer</p>
</div>
</div>
</body>
</html>
CSS
body {
text-align: center;
}
.wrapper {
width: 960px;
font-size: 0.9em;
margin: 0 auto -20px;
text-align: left;
position:absolute;
height:100%;
}
.header {
height: 125px;
background-color:purple;
position:relative;
top:0;
z-index:50;
}
.footer {
width: 960px;
margin: 0 auto;
background-color:black;
}
.footer a {
color: #fff;
text-decoration: underline;
border: 0;
}
.footer p {
left: 0;
bottom: 4px;
width: 960px;
padding: 0;
color: #fff;
font: 0.8em arial,sans-serif;
text-align: center;
}
html, body {
}
.wrapper {
background-color:yellow;
position: absolute;
height:100%;
}
.content {
position:absolute;
height:100%;
bottom:50px;
}
.footer {
height: 50px;
position:absolute;
bottom: 0;
}
.leftPanel{
width:200px;
background-color:blue;
float:left;
position:relative;
bottom:0;
height:100%;
}
.centerPanel{
width:760px;
background-color:gray;
float:left;
position:relative;
bottom:0;
height:100%;
}
#leftContent {
margin-top:175px;
}
#centerContent {
margin-top:175px;
}
dl,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,div,p,blockquote,fieldset,legend,input,select,textarea
{ margin:0; padding:0 }