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
    May 2007
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    expanding iframes

    I need my iframe to expand to fit content from an original file. I sometimes add or remove information in the original file so I want an iframe to resize it's height when I do (width always stays fixed).

    below i pasted a code that I use right now. It does work! but only for internet explorer. I want it to work in firefox too.

    Code:
    <IFRAME  
    src=http://michaelselitegroup.com/contact/contact.html 
    width=400 
    height=100%
    frameborder=0 
    marginwidth="0"
    marginheight="0" 
    allowtransparency="true"
    scrolling=no>
    </IFRAME>
    Help me please!

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Its obvious that you need help or you wouldn't be here posting a question. Is the source file of the iframe on the same server as the page with the iframe on it?
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New Coder
    Join Date
    May 2007
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yes it is.


  •  

    Posting Permissions

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