I have 3 div\'s like on this image:
div1 has fixed width but variable hei
Not necessarily answers the question, but I thought you might like to know that in CSS 3 you can use this style - {word-wrap: break-word;} - to fit a long string inside a div.