for more precision:

Code:
document.<ELEMENT>.offsetHeight;
document.<ELEMENT>.offsetWidth;