Use outerHeight instead of height to take paddings and margins into account.