Merike
06-29-2004, 03:16 PM
I have iframe in div and I'm wondering if I can make the frame change its height when the amount of text in it grows, like tables automatically do. Beacuse if I define height=300 for example then it becomes scrollable if there's more text in it and that's what I don't like. and when I erase height tag totally then height is automatically something 200px (trying to fit in the div) which is too little for content and makes it scroll too.
Any suggestions?
kittycat
06-29-2004, 03:56 PM
You can try this, not sure how well it works: http://1ppl.free.fr/html/article093.html
Merike
06-29-2004, 06:26 PM
I tried that and I couldn't get it to work.
Now I'm having some weird problems:
1. The border should be 0 but it's not
2. I don't want the space at right in the frame
www.hot.ee/gasell16/try.html
neonick5647
06-29-2004, 06:31 PM
don't feel bad...i can't get my iframes too work either....
kittycat
06-29-2004, 08:39 PM
Border - try adding frameborder="0" to the iframe tag
Not sure why there's a large gap on the right, only guess is the text-align justify that you have.
Merike
06-29-2004, 09:28 PM
It does the same with align - left.
The only way to get rid of space seems to be scrollbar, but that makes 3 per one page..