I am currently working on creating a sidebar that sometimes ends up being longer than the main content section. You can check out my demo here: http://jsfiddle.net/y9hp4evy/1/ and another case here: http://jsfiddle.net/y9hp4evy/2/ (If I add a height to the sidebar).
The issue I am facing is that when the sidebar content extends beyond its designated area, it overlaps with the footer and some content gets cut off below the end of the sidebar section.
.container {
width: 800px;
}
.right-pane {
float: right;
width: 300px;
}
.left-pane {
margin-right: 320px;
position: relative;
min-width: 300px;
}
footer{
background-color: #cdc;
}
I have tried searching for a solution but haven't found any relevant answers yet. Any help or guidance on what might be missing in my code would be immensely appreciated.