sorry, the float's parent had a background, not the float... hopefully that bit makes sense.
On Tue, May 4, 2010 at 4:50 PM, Lorin Tackett <[email protected]>wrote: > #DiscussionDetailContainer would have suffered the same collapsed fate as > #PollQuestionaireContainer if you didn't slap the .span-24 and .last > classes on there, using a parented float to contain child floats. > > overflow: hidden; is just one way to contain floats. The reason you > *noticed* it was because that float had a background color, and the parent's > parent had a border, which it was running into. > > Basically, if the floats are not contained in some way, stylistically > speaking, they assume that the parent's height is 0px. This can cause all > sortsa headaches if you aren't clearing your floats or don't know what to > look for. > > More info from an older post. > http://www.sitepoint.com/blogs/2005/02/26/simple-clearing-of-floats/ > > Hope that helps! > -Lorin > > On Tue, May 4, 2010 at 4:39 PM, oranuf <[email protected]> wrote: > >> Why should I have to do this? I've never had to before... and why >> does it work? >> >> On May 4, 7:37 pm, Lorin Tackett <[email protected]> wrote: >> > #PollQuestionaireContainer {overflow: hidden;} >> > >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Blueprint CSS" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<blueprintcss%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/blueprintcss?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "Blueprint CSS" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/blueprintcss?hl=en.
