How do I get a computed style?

See this answer.

It’s not jQuery but, in Firefox, Opera
and Safari you can use
window.getComputedStyle(element) to
get the computed styles for an element
and in IE you can use
element.currentStyle. The returned
objects are different in each case,
and I’m not sure how well either work
with elements and styles created using
Javascript, but perhaps they’ll be
useful.

The iframe looks about 150px high to me. If its contents are 1196px high (and indeed, you appear to be exploring the html node, according to the screenshot) and that’s what you want to get, then you should navigate into the DOM of the iframe’s document and apply the above technique to that.

Leave a Comment