I have 3 divs:
Using Javascript, you could do something like:
document.getElementById("two").style.height = document.getElementById("one").clientHeight;