PDA

View Full Version : Capturing the stretchiness? Stretchy Iframes?



Quiz
10-27-2004, 11:14 AM
Is it possible to capture the undefined pixel height/width stretch of a DIV (or span, table...) as it is created on the client machine where font size varies?

How about making Iframes stretchy?

Kor
10-27-2004, 11:33 AM
document.object.offsetHeight
document.object.offsetWidth

will return the object's size, nomatter if the size was or not pre-defined.



How about making Iframes stretchy?


That means?...

Quiz
10-27-2004, 06:27 PM
Thanks, I will try that.

By stretchy Iframes I meant that an Iframe might expand to its content. It would behave like a div in this respect. It could be fixed in one dimension (width) and fully expand the height with no scrollbars.