Home › Forums › CSS › background and css problem › Re: background and css problem
March 29, 2013 at 1:20 pm
#130139
wolfcry911
Participant
The clear: both is not for the parent to contain the children floats. The clear: both is for an element after the floats causing the parent to envelope that element as well as the floats. If you’re adverse to using clearfix (you shouldn’t be, as Paulie_D states), you could add overflow: hidden to the parent, or float the parent (there’s a couple other ways also).