Question : i want the iframe to be the height of the text in the iframe

iframe with no height



if iframe has one line of text
and height 500px

then there is alot of vertical whitespace

i want the iframe to be the height of the text in the iframe

Answer : i want the iframe to be the height of the text in the iframe

You can control iframe height only if the iframe and your site are on the same domain.
If iframe and your site are on different domains then there's no easy way to resize iframe. You'll always get security exception.
Anyway maybe script from this link will help you
http://www.box.net/public/vn5hq5rdq1
Random Solutions  
 
programming4us programming4us