Well, there I was, casually redesigning my website, when “BAM!” And then some.
I found myself needing to dynamically change the height of an object to equal the height of the document. I’ve found the height of the document, and I’ve set it up so that IE uses its rather handy document.element.style.height method to get things done.
HOWEVER, as I’m sure you know, Firefox doesn’t have that particular method, at least word for word. So my question is this: Is there – and if there is, what is – a suitable replacement for document.element.style.height?
I have tried both “document.defaultView.getComputedStyle(element,null).getPropertyValue(height),” and “borderleft.offsetHeight,” only to find that they were woefully inadequate and lazy, and that they would only get the value of the current height, not change it.