jQuery make two divs have equal height

Your Two divs:

Your simple css:

Gives you this:
Screen Shot 2014-05-30 at 10.57.04 AM

But we want equal heights even if the content changes. So we add some jQuery:

Now we have to add the blocks class to the divs that we declared in the jQuery:

Yay! Equal div heights.
Screen Shot 2014-05-30 at 10.57.50 AM

Leave a Reply

Your email address will not be published. Required fields are marked *

51 − 42 =