Thanks Ralph and Paul. I’m getting some weird behavior due to my upstream css. I thought I might show a more full picture of my layout if it helps.
The problem I’m running into with the example is that the pre-footer area needs to be a fixed width (not 50%, for example) and I want each of the child divs (footer-pre-home) to be equally spaced apart…
<div class="main">
<div class="content">main content div</div>
<div class="sidebar">sidebar div</div>
<!--Start Pre-footer Div-->
<div class="pre-footer">
<div class="sb4 footer-pre-home box s5">
<div class="textwidget">
<ul class="social">
<li class="twitter"><a href="http://twitter.com" /></a></li>
<li class="facebook"><a href="http://facebook.com" /></a></li>
</ul>
</div>
</div>
<div class="sb6 footer-pre-home widget_pages">
<h4>Pages</h4>
<ul>
<li class="page_item page-item-7"><a href="http://localhost/theteareport/about-us" title="About Us">About Us</a></li>
<li class="page_item page-item-8"><a href="http://localhost/theteareport/contact-us" title="Contact Us">Contact Us</a></li>
<li class="page_item page-item-10"><a href="http://localhost/theteareport/ftc-disclaimer" title="FTC “Disclaimer”">FTC “Disclaimer”</a></li>
<li class="page_item page-item-9"><a href="http://localhost/theteareport/privacy-policy" title="Privacy Policy">Privacy Policy</a></li>
</ul>
</div>
<div class="sb7 footer-pre-home widget_links">
<h4>Blogroll</h4>
<ul class='xoxo blogroll'>
<li><a href="http://codex.wordpress.org/">Documentation & Happenings about all things in the WP World!</a></li>
<li><a href="http://wordpress.org/extend/plugins/">Plugins</a></li>
<li><a href="http://wordpress.org/extend/ideas/">Suggest Ideas</a></li>
<li><a href="http://wordpress.org/support/">Support Forum</a></li>
<li><a href="http://wordpress.org/extend/themes/">Themes</a></li>
<li><a href="http://wordpress.org/news/">WordPress Blog</a></li>
<li><a href="http://planet.wordpress.org/">WordPress Planet</a></li>
</ul>
</div>
<div class="sb8 footer-pre-home widget_categories">
<h4>Categories</h4>
<ul>
<li class="cat-item cat-item-6"><a href="http://localhost/theteareport/category/chrysanthemum" title="View all posts filed under Chrysanthemum">Chrysanthemum</a>
</li>
<li class="cat-item cat-item-164"><a href="http://localhost/theteareport/category/blog" title="View all posts filed under My Blog">My Blog</a>
</li>
<li class="cat-item cat-item-7"><a href="http://localhost/theteareport/category/green-tea/gourmet-tea" title="View all posts filed under Gourmet Tea Good for the soul">Gourmet Tea Good for the soul</a>
</li>
<li class="cat-item cat-item-8"><a href="http://localhost/theteareport/category/green-tea" title="View all posts filed under Green Tea">Green Tea</a>
</li>
<li class="cat-item cat-item-4"><a href="http://localhost/theteareport/category/green-tea/chai-tea" title="View all posts filed under Chai Tea">Chai Tea</a>
</li>
<li class="cat-item cat-item-9"><a href="http://localhost/theteareport/category/herbal-tea" title="View all posts filed under Herbal Chinese Tea">Herbal Chinese Tea</a>
</li>
<li class="cat-item cat-item-10"><a href="http://localhost/theteareport/category/iced-tea" title="View all posts filed under Iced Tea">Iced Tea</a>
</li>
<li class="cat-item cat-item-16"><a href="http://localhost/theteareport/category/jasmine-tea" title="View all posts filed under Jasmine Tea">Jasmine Tea</a>
</li>
<li class="cat-item cat-item-19"><a href="http://localhost/theteareport/category/mint-tea" title="View all posts filed under Mint Tea">Mint Tea</a>
</li>
<li class="cat-item cat-item-3"><a href="http://localhost/theteareport/category/tea-health-benefits" title="View all posts filed under Tea Health Benefits">Tea Health Benefits</a>
</li>
</ul>
</div>
<div class="clear"> </div>
<!--End Pre-Footer Div-->
</div>
<!--End Main Div-->
</div>
Assuming that you never have more columns than will fit into one line then I would use the display:table properties for ie8 and above. Only the display:table properties will equally distribute elements across the width.
Paul, your example works perfectly. However, I have one small problem. The last element in the pre-footer div does not need to be included in the table display calculation. I’m positioning it absolutely on its own line below these boxes.