Home › Forums › JavaScript › Jquery function to vertical align the elements doesn't work › Reply To: Jquery function to vertical align the elements doesn't work
September 15, 2016 at 4:43 am
#245580
Kevin Mamaqi
Participant
Yes, your reply gave me the idea. Thanks.
The solution is to change this: var colHeight = $(this).outerHeight();
to this var colHeight = $(this).height();