This code is out of date. Use CSS Grid Layout instead! Your selection (div, li, a, whatever) will share the same height; Example at: http://luanlmd.com/jquery.jequalize/