I could see how it would work with ajax because with an ajax call you will be putting the returned code into the div, the div will re-size itself and then your code will resize the iframe. With the <iframe src="url" ... no content goes into the div, hence the div will not re-size and your...