I have 2 columns on the page which are floated to the left, and contained in a wrapper div called 'content'.
I then have a footer contained in #footer. There is a huge gap between my content and footer, and I cannot figure out why! Here's the link to the codepen and the relevant code:
http://codepen.io/Pea92/pen/WvrXRY
HTML:
<div id="content">
<div class="sidebar">Information etc</div>
<div class="column2"></div>
</div>
<div id="footer"></div>
CSS:
.sidebar {
float:left:
width:20%;
}
.column2 {
float:left;
width:60%;
}
You have a syntax error:
You did not close your
<divtags... please always validate your code. http://validator.w3.org/