Does this have anything to do with the container question on whatwg? The commonly referred to 'clearfix' may be a hack that is necessary to use floats for layout, but css 'clear' is not a hack.
I would need to see some example HTML, but if you have a bunch of sibling containers, and each contains either a left of right float (1 or more floats), and none of them contain 0 floats, the layout will not layout as you might think. See: http://jsfiddle.net/3yT6J/2/ On Tue, Mar 4, 2014 at 4:32 PM, John <j...@coffeeonmars.com> wrote: > in the case where you have section float left and aside float left, footer > clear both, is "clear" a hack? > > ...or is it part of CSS deliberately to handle such a situation? > > the greater question I'm grappling with is whether to use a wrapper div > around everything within <body> as opposed to each section of markup being > its own "container" with the floats inside being only either left or right, > with nothing below needing a clear. > > thank you, > > John > ______________________________________________________________________ > css-discuss [css-d@lists.css-discuss.org] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > -- Chris Rockwell ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/