javascript IFRAME hspace, vspace
| hspace, vspace | NN n/a IE 4 DOM n/a |
| Read/Write | |
|
Provide the pixel measure of horizontal and vertical margins surrounding an inline frame. The hspace property affects the left and right edges of the element equally; the vspace property affects the top and bottom edges of the element equally. These margins are not the same as margins set by style sheets, but they have the same visual effect. |
|
| Example | |
document.getElementById("myIframe").hspace = 5;
document.getElementById("myIframe").vspace = 8;
|
|
| Value | |
Integer of pixel count. |
|
| Default | |
0 |
|
Previous: javascript IFRAME longDesc

You can't do this via iframe for security reasons.
How about getting HTML source of that iframe URL and split begin and end of BODY section? try xmlhttp.