I've got an IFRAME it loads a page with variable contents I need to know the WIDTH of the body of that page I'm using offsetWidth and offsetHeight This is weird.... offsetHeight returns the height of the document body offsetWidth returns the width of the iframe !!!!!!! (??????????) Please, what am i doin wrong??
It probably depends on the document that is loaded within the iframe... if it is using a fixed width (say 1000px) or a variable width (100%). What is the URL of the page that is being loaded within the frame?