Is there any way to get the height of an element if there is no CSS height rule set for the element I cannot use .height() jQuery method because it need a CSS r
.height()
Can do this in jQuery. Try all options .height(), .innerHeight() or .outerHeight().
.innerHeight()
.outerHeight()
$('document').ready(function() { $('#right_div').css({'height': $('#left_div').innerHeight()}); });
Example Screenshot
Hope this helps. Thanks!!