Click to See Complete Forum and Search --> : how to specify or set the size of an iframe?


AnilPhilip
06-23-2008, 12:41 PM
I want to embed an iframe on my blog but I cannot set the size.
http://juwo-works.blogspot.com/2008/05/web-advertising-is-googles-achilles.html

I was surprised to find that this fails

<iframe src="mypage.html" height="450" width="450" ></iframe>


I found this code

http://www.programmersheaven.com/2/FAQ-JavaScript-Set-Iframe-Width-Height-Onload

but somehow it fails - perhaps Google Blogger is stripping out the Javascript.

Any help appreciated.
thanks,
Anil

AnilPhilip
06-23-2008, 01:16 PM
ok, I figured it out

height="450px" or height="450%"

Jim brown
06-24-2008, 06:19 AM
i think you have not written it properly.....it is like

<iframe src="mypage.html" height="450px" width="450px" name=f1 src="whatever.html"></iframe>

for more information about web application development (http://www.infysolutions.com) check out this link http://www.infysolutions.com/web_application_development.html


thanks