PDA

View Full Version : Iframe not working using iframessi2.htm



darwall
10-23-2009, 01:54 AM
1) CODE TITLE: Iframe not working.

2) AUTHOR NAME/NOTES: c. darwall

3) DESCRIPTION: Iframe not expanding to accommodate new child text.
4) URL TO CODE: http://www.charlesdarwall.com/j/index2.htm

5) Note:

- The Menu CSS is from Coffeecup.com.

- You should see the caption:
"!--END OF FILE--!" at the end of each Iframe display.

- When you click repeatedly on the menu the display increments by one line.

- I stripped out all of the redundant code, including the Wrapper which is why the alignment is off.

- The corresponding CSS is http://www.charlesdarwall.com/j/css/style2.css

stringcugu
10-23-2009, 04:49 AM
try this
style="overflow:visible; width:100%;height:100%;"

<!---IFRAME_DIV-->
<div id="iframe" class="clearfix" style="overflow:visible; width:100%;height:100%;">
<iframe id="glu" src="home1.htm" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="750px" hspace="0" style="overflow:visible; width:100%;height:100%; display:none"></iframe>
</div><!--END_IFRAME-->