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 4 of 4

Thread: iframe stretch?

  1. #1
    New Coder
    Join Date
    Feb 2005
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    iframe stretch?

    can iframes stretch to fit whatever content is plugged into them, or does a height/width setting have to always be used?

    thanks

  • #2
    New Coder
    Join Date
    Sep 2004
    Location
    California
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i don't think iframe can be stretchable mate . sorry if im wrong.

  • #3
    Senior Coder chilipie's Avatar
    Join Date
    Jul 2004
    Location
    Shrewsbury, UK Age: 16
    Posts
    1,117
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You might be able to, if you set height/width with CSS...
    Code:
    iframe {
    width: 25%;
    height: 25%;
    }
    I'm not sure that it works though ... you'll just have to try it out and see .

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Canada
    Posts
    253
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i dont know how reliable or not this is...
    http://1ppl.free.fr/html/article093.html


  •  

    Posting Permissions

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