code: function getClearedHeight(e) {
                      var height = e.height();
  
                      e.children().each(function () {
                          height = Math.max(height, $(this).height());
                      });
  
                      return height;
                  }
docs: Get the height of a div as if its floated children were cleared. Note that this function fails if the floats are more than one level deep.