The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Float help! :D Reply To: Float help! :D


Nice this is fixed, however, I would like to recommend a more modular approach, like OOCSS

<div class="mod">
    <div class="inner">
        <div class="hd">head</div>
        <div class="bd">body</div>
        <div class="ft">foot</div>

Separate things out in classes, don’t set widths on inner elements and so on. Scales better that way, is sturdier. More in this vein in a fork of your demo