IE6 javascript can't get height by document.getElementById(id).offsetHeight
- by liuxingruo
Hey guys,
I just got a problem which is I can't get the height property of a <p>.(use javascript document.getElementById(id).offsetHeight)
It works fine both in FF or chrome.
I have tried to set the style of the <p> to height:100%;/height:auto;
but both not work.
Please help me, thanks :D