PDA

View Full Version : ajax tabs vs iframe height



jackavin
11-14-2007, 11:40 AM
1) Script Title:
ajax tabs 2.0
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/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

ddadmin
11-14-2007, 11:26 PM
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 (http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/demo.htm), the DIV container looks like this:


<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.

cassie
12-17-2007, 07:54 AM
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...


<div id="grapevinedivcontainer" style="border:1px solid #54587E; width:750px;height: 600px; margin-bottom: 1em; padding: 10px">

what am i doing wrong?