rickl
11-02-2007, 09:55 PM
Can anybody help me with this one? I have several columns in my footer, and I floated them left so that they would line up basically side by side. This works fine in Firefox, but in IE6 the columns are acting like they're clearing--they're stacking up on top of each other (not overlapping).
CSS:
#footer {
clear: both;
margin: 20px 0 0 0;
padding-bottom: 0px;
min-width: 710px;
}
#footer_content {
margin: 20px;
margin-bottom: 0px;
}
#footer .footer_column {
float: left;
margin-right: 10px;
padding: 0px 10px 0 10px;
}
#footer .footer_column ul {
width: 200px;
}
#footer .clear {
clear: both;
}
Markup:
<div id="footer">
<div id="footer_content">
<div class="footer_column">
<h4>lorem</h4>
<ul>
<li>lorem</li>
</ul>
</div>
<div class="footer_column">
<h4>lorem</h4>
<ul>
<li>lorem</li>
</ul>
</div>
<div class="footer_column">
<h4>lorem</h4>
<ul>
<li>lorem</li>
</ul>
</div>
<div class="footer_column">
<h4>lorem</h4>
<ul>
<li>lorem</li>
</ul>
</div>
<div class="clear"></div>
</div><!-- #footer_content -->
</div><!-- #footer -->
CSS:
#footer {
clear: both;
margin: 20px 0 0 0;
padding-bottom: 0px;
min-width: 710px;
}
#footer_content {
margin: 20px;
margin-bottom: 0px;
}
#footer .footer_column {
float: left;
margin-right: 10px;
padding: 0px 10px 0 10px;
}
#footer .footer_column ul {
width: 200px;
}
#footer .clear {
clear: both;
}
Markup:
<div id="footer">
<div id="footer_content">
<div class="footer_column">
<h4>lorem</h4>
<ul>
<li>lorem</li>
</ul>
</div>
<div class="footer_column">
<h4>lorem</h4>
<ul>
<li>lorem</li>
</ul>
</div>
<div class="footer_column">
<h4>lorem</h4>
<ul>
<li>lorem</li>
</ul>
</div>
<div class="footer_column">
<h4>lorem</h4>
<ul>
<li>lorem</li>
</ul>
</div>
<div class="clear"></div>
</div><!-- #footer_content -->
</div><!-- #footer -->