i have an iframe in which i put src and dont write http:// in begining
and i use visibility="hiddden" to hide it so it does not show the error of cannot find etc
when the whole page is loaded i modify the the src to the correct url and make it visibility="visible" and it works fine
but the problem is that it shows the iframe even when it is hidden and displays
cannot find the file i want to hide the iframe's contents before i make it visible and i cant use display:none as it changes the layout of the parent page
and ive checked display:none works perfectly except that when i make it display:inline it changes the layout of page