Discussion Locked

iframe bug? content cut off...

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

hi all,
i am encountering a strange problem with iframe. we have an application built in Coldfusion, and in a few places the page has an iframe within an iframe (and set in a table tag). each iframe loads a ColdFusion page, not a static HTML.

when the content is longer than the height of the iframe, scrollbars appear (as they should..i have scrolling set to 'auto'), but they only scroll part-way. About 1/2 " is cut off from the bottom of the nested page.

any ideas? i've already tried forcing extra scrollbar length by putting a series of

and
tags at the bottom of the page. and yes, i've triple-checked that the table housing the iframe is set to 100% height.

please send some sage advice my way....

thanks,

gwen

4 replies

by lvisintin

Have you also checked 'body margins' and table cellpadding/cellspacing/border?
Sometimes those are the culprit...
Good luck
gigi

by oldprogrammer

i have sample iframe
and := no problems with bottom portion of
iframe content (in netscape 7.01).

you have sample of your
actual (generated) html code?

by notoriousdog

I'll have to check that out!

If Iframe still gives you fits, go to http://www.dhtmlshock.com/ and click on "Absolutely Positioned Scrollable Area by David Miles" on the home page. I know for a fact it works in IE 5.5 & 6 and NS 7

Jihad aside, last I heard Iframe was a MS tag, but CSS and JS were W3C recommendations. MS can change implementation/support at will, while W3C (for better or worse) is subject to a more democratic process.

All I'm saying is solutions using W3C recommendations last longer.

by sylon

hi everyone, iv'e exhaustively checked table and body tag margins and padding etc. and unfortunately the client is set on using iframes in this app. i can't provide a browse-able example for security reasons.

what is THE standard way to set iframe margins for IE? i know that marginwidth/marginheight is NS specific, and i've tried every combo of style attributes for the darn thing. but none work.

well, thanks for your input.

This discussion is closed to new replies.