Dimensions .height function fails for IE7 when element has percentage height
I have a div that has a height of 80%, and this line:
$('.class:first').height()
works fine in firefox, but when I try to use it in IE7 it always
returns 1.
Is there a known workaround for this?