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
UPDATE: It seems that IE6 didn't return the offsetHeight value when page is loading, so maybe I have to put the javascript in the onload event? (Cause I put the javascript in the html during the page is load before).