CSS code:
#jpspm { position: relative; top: -83px; left: -1px; padding-top: 3px; padding-bottom: 3px; padding-left: 64px; padding-right: 63px; width: 563px; z-index: 1; display: block; }
JQuery Code:
var jp_con = jQuery('#jpspm').innerHeight(); console.log('InnerHeight:' + jp_con);
Example: http://jsfiddle.net/xzexn/
it works fine in firefox and explorer, but in Chrome it makes a difference, help will be appreciated.
source share