re -> using the 'clearfix'.... fix... as a way of clearing floats by "not adding any additional markup"
i've always thought that argument was a bit of a stretch. You are adding extra markup - and its hardcoded presentational markup. What happens when you have class="clearfix" all through your code and then you have a bit of a design makeover and some areas that were previously clearing floats are now doing something different? not only do you have to change the css, you've also got to change html to move some of the "clearfix" classes around. As others have said there's not one best solution - it'll depend on your situation. Using divs that are already there to do the clearing is, i think, best. My second favourite is using a <hr> (*if* its a meaningful separation of content) and then applying {clear:both;visibility:hidden} to the <hr> to do the clearing. as a last resort if i had to add some extra markup to do it, i'd favour an empty clearing div over an extra class on a parent div (the clearfix method). Yeah its a little dirty, but in some cases i've found its easier to maintain when handed over to other teams/developers/cowboys. just my 2c :) pete ottery ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************