# Getting 2 divs to match each other's height?

**URL:** <https://forum.kirupa.com/t/getting-2-divs-to-match-each-others-height/158946>\
**Category:** web dev\
**Created:** [August 12, 2005, 11:56pm UTC](https://forum.kirupa.com/t/getting-2-divs-to-match-each-others-height/158946 "2005-08-12T23:56:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chim](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@Chim](https://forum.kirupa.com/u/Chim)\
**Post date:** [August 12, 2005, 11:56pm UTC](https://forum.kirupa.com/t/getting-2-divs-to-match-each-others-height/158946/1 "2005-08-12T23:56:30Z")

</div>

Lets say you have 2 divs, one layered on top of the second. How do you get them both to match each other’s heights (the shorter one expanding to the same size as the larger)
