Results 1 to 3 of 3

Thread: ajax tabs vs iframe height

  1. #1
    Join Date
    Jul 2007
    Posts
    59
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default ajax tabs vs iframe height

    1) Script Title:
    ajax tabs 2.0
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...tent/index.htm
    3) Describe problem:

    when i use iframe container its height it 100px can i make 100% or somehow for height that i want to fix

    thank you

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The height of the IFRAME is dictated by the height of your DIV container actually. 100px is simply the minimum height of the IFRAME in the absence of an explicit DIV container height. For example, on Demo #3, the DIV container looks like this:

    Code:
    <div id="petsdivcontainer" style="border:1px solid gray; width:550px; height: 150px; padding: 5px; margin-bottom:1em">
    </div>
    This means the height of the IFRAME is also 150px.

  3. #3
    Join Date
    Dec 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i'm having the same problem, but the solution you posted doesn't work for me. i have put the height requirement in the div id, and it still shows the content in the iframe at the standard 100 px, or 150, or whichever it is...

    Code:
    <div id="grapevinedivcontainer" style="border:1px solid #54587E; width:750px;height: 600px; margin-bottom: 1em; padding: 10px">
    what am i doing wrong?

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
  •