Keeping "float" elements within a containing "div" (CSS)
http://complexspiral.com/publications/containing-floats/
I love this post.
And also, I was using this for a website where there are a bunch of sticky notes but when I "floated them left", the whole div container shrunk (height was set to auto). The solution to this for me was not to put the "hr with the attribute clear" under each sticky note, but a "hr with the attribute clear" under the last sticky note, after the for loop.
PS ~ I just did a vim "jj" after typing that last paragraph ><












