I have this footer, and above it is a content div (nestled in another div to create a nice padded border). For some reason the footer doesn't fall in line directly after the content, or if the content is quite long, the footer seems to appear in the middle of the content.
html:
<div class="content-wrapper clearfix">
<div id="content">
{% if template == 'list-collections' %}
{% include 'collection-listing' %}
{% else %}
{{ content_for_layout }}
{% endif %}
{% unless template contains "customer" or template contains "cart" %}
{% include 'col-widgets' %}
{% endunless %}
</div>
</div>
</div><!-- /.content -->
<!-- Footer -->
<footer id="bottom">
css:
.wrapper{
width: 810px;
margin: 0 auto;
padding: 0 20px;
text-align: left;
min-height:100%;
}
.ie6 .wrapper{ height: 100%; }
#content {
width: 810px;
background-color:#fff;
position: absolute;
height:auto;
}
#col-main{
-moz-box-sizing: border-box;
margin-top:0px;
line-height: 2;
margin: 5px;
padding: 30px;
background-color: #FFFFFF;
float: center;
position: relative; z-index: 1;
height: 200px;
background-color: #FFFFFF;
border: 1px solid #D5DCE1;
height:auto;
}
pics of the problem: