I am working on a layout with a fluid width left column and a fixed width right column. My challenge is to add a border that spans the entire height of the tallest column.
Below is a simplified version of my current setup:
.left {
width: 100%;
float: left;
}
.left-inner {
margin-right: 275px;
padding-right: 30px;
border-right: 2px dotted #47718D;
}
.right {
float: left;
padding-left: 30px;
width: 275px;
margin-left: -275px;
}
<div class="left">
<div class="left-inner">
Content
</div>
</div>
<div class="right">
Sidebar
</div>
For a more detailed example, you can view this fiddle: http://jsfiddle.net/meaLh
The issue I am facing is that the border only extends to the height of the content in the left column. Since the heights of both columns can vary, I am looking for a solution to make the border span the entire height. Can anyone provide guidance on achieving this?