JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<div id="pageHead">
<p>Book</p>
</div>
<div id="maincontainer">
<div id="leftcolumn">
<div class="links">
<div class="padding_left">
<ul>
<li>Test1<li>
<li>Test2<li>
<li>Test3<li>
</ul>
</div>
</div>
<div class="innertube">
</div>
</div>
</div>
<div id="footer">
<p>Address:</p>
</div>
</body>
CSS
body
{
overflow-x: hidden;
margin: 0;
padding: 0;
line-height: 1.5em;
background-color: #FFFFCC;
width: auto;
}
b{font-size: 110%;}
em{color: red;}
#maincontainer
{
width: 840px; /*Width of main container*/
margin: 0 auto;
float: left;
}
#topsection{
background: #EAEAEA;
height: 90px; /*Height of top section*/
}
#topsection h1{
margin: 0;
padding-top: 15px;
}
#leftcolumn
{
float: left;
width: 300px; /*Width of left column*/
background: #C8FC98;
}
#footer
{
clear: both;
width: 100%;
background: #666699;
color: #FFF;
text-align: center;
padding: 4px 0;
}
#footer a{
color: #FFFF80;
}
.innertube{
/*Margins for inner DIV inside each column (to provide padding)*/
margin-top: 0;
}
.links
{
width: 300px;
height: 541px; /* must be 541px to display full image */
background-image: url('../../cross.jpg');
}
h2
{
padding-left: 55px;
background-color: #00FFFF;
}
.links a
{
display: block;
padding-top: 50px;
padding-left: 10px;
}
.padding_left
{
padding-left: 20px;
}
#rightcolumn /* edit : Adding an extra div for right content -*/
{
float: left;
}
#pageHead
{
border-color: #FF0000;
background-color: #808000;
height: 250px;
width: 100%;
background: url('http://img708.imageshack.us/img708/7186/bannerxwu.jpg');
background-size: 100%;
text-align: center;
font-size: 36px;
font-family: 'Baskerville Old Face';
background-repeat: no-repeat;
padding-top:100px;
}
JavaScript
jQuery(document).ready(function() {
var divone = jQuery("#leftcolumn").height();
var divtwo = jQuery("#contentwrapper").height();
var maxdiv = Math.max(divone, divtwo);
jQuery("#leftcolumn").height(maxdiv);
jQuery("#contentwrapper").height(maxdiv);
});