I have two questions about IFrame. Greatly appreciate an answer to 1 or both.
1. I am calling a page within a page via the use of IFrame. The IFrame is embedded within TD tags of the calling page and I would like the IFrame to be the exact size in width and heigth of its source page. I set the iframe width to 100% and this works for the width aspect. However, it will not allow me to use 100% for height. Is there a way make the size of the IFrame equal to the height of its source page?
2. The background color of the calling page is black and so is that of the iframe. However, when the iframe is loading, it displays white until the loading is complete. I tried setting the bgcolor for the iframe, td, table, and body tags all to black but the white color continues to show up until the source page is loaded in the iframe. Is there a way to make the bgcolor remain black while the source page is loading in the iframe?
Thanks very much in advance.
1. I am calling a page within a page via the use of IFrame. The IFrame is embedded within TD tags of the calling page and I would like the IFrame to be the exact size in width and heigth of its source page. I set the iframe width to 100% and this works for the width aspect. However, it will not allow me to use 100% for height. Is there a way make the size of the IFrame equal to the height of its source page?
2. The background color of the calling page is black and so is that of the iframe. However, when the iframe is loading, it displays white until the loading is complete. I tried setting the bgcolor for the iframe, td, table, and body tags all to black but the white color continues to show up until the source page is loaded in the iframe. Is there a way to make the bgcolor remain black while the source page is loading in the iframe?
Thanks very much in advance.