you can apply this auto clearing method.
This should solve your problem (and hopefully not make new ones)
Neil Lee wrote:
> Hi folks -
> I'm having a heck of a time getting a particular bit of code to work,
> and could really use a fresh pair of eyes (and brains) to give me some
> I have a set of divs, each which contains a smaller div floated left
> and an unordered list that I am floating right. A screenshot of what I
> have working is here:
> My dilemma is that I am currently setting the height of the containing
> div as well as the smaller div (the one with the month in it). If the
> unordered list is longer than five lines the extra lines disappear
> under the next containing div.
> Any anyone help me figure out how to get both of the div's heights to
> stretch based on how much content is in the unordered list? Any help
> is really appreciated...
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/