Calculating height using jQuery differs in Firefox and Chrome
问题 I have a question that was already asked here, but the solution offered there did not work. The problem is that I'm using the jQuery height() function to return the height of a div. It works nicely in Firefox, but returns a value that is 300px smaller in Chrome... You can see an example of this bug here. Though I must say it's in Hebrew. Though that shouldn't matter much... Has anyone had that happen before? Here's the code that calculates the height: var heightLeftCol = $('#leftCol').height(