Results 1 to 2 of 2

Thread: iFrame and surrounding content box

  1. #1
    Join Date
    Sep 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default iFrame and surrounding content box

    not exactly sure how to word this understandably, so i think i'll just link the page with the problem and name what i want it to do.

    http://www.angelfire.com/ma4/mtg0/Site/index.html

    i currently have the middle div tags containing the iFrame which i have all the side links loading into. it's height is set to 750px, but i'd like to know if there's a way to keep the height element in my .css relative, so that i don't have to size the window to my largest file, i'd love for it to size itself automatically to the iframe's contents, with a padding of maybe 15 at the bottom, but i can do that easily enough.

    if anyone know's how to do this, if it's not too much trouble if you could not just make it a copy and paste, unless it's simple enough that it shouldn't require explanation, i don't wanna put stuff on my site that i can't understand. except javascript.

    ignore the ads in the pages/frames, eventually i'll re-upgrade my account/get my own domain. *edit* also, the page uses exclusively css for ti's templade/design, so it's buggy in firefox, as is the clock script in the top-right window, but all works as intended in ie explorer. i'll be troubleshooting easy fixes later, unless someone also has knowledge on it.


    thanks, i know it may be a wall of text >.<
    Last edited by iMatt; 09-25-2007 at 03:59 AM. Reason: forgotten detail

  2. #2
    Join Date
    Oct 2007
    Posts
    53
    Thanks
    13
    Thanked 1 Time in 1 Post

    Default

    Direct Drive itself has a script that will resize the iframe's hieght... it is compatible in both fx and ie.

    Iframe SSI script II

Bookmarks

Posting Permissions

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