Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Nov 2003
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Capturing the stretchiness? Stretchy Iframes?

    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?

  • #2
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    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?...
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #3
    New Coder
    Join Date
    Nov 2003
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •