socken 0 Posted February 1, 2006 Report Share Posted February 1, 2006 OK, I'm kind of reposting my problem here. I had problems with the iframe width, now I have something...similar: iframe height Please have a look at this page: Sample PageAnd don't laugh, it's just a test! I want the iframe to expand to the size of the content.I know that's not supposed to work, and i know it's ugly! But it's not for my, I wouldn't choose iframes in the first place.But hey, I'm here to stimulate your creativity! So if you have any suggestions.... SHOOT!I think I might have to use ajax!? Or javascript!? Any ideas??? Quote Link to post Share on other sites
aspnetguy 30 Posted February 1, 2006 Report Share Posted February 1, 2006 The size of the content in the iframe or the content beside the iframe? Quote Link to post Share on other sites
socken 0 Posted February 1, 2006 Author Report Share Posted February 1, 2006 The content in the IFRAME...If it expands, I want the iframe to expand as well. The page can get as long as it wants. Quote Link to post Share on other sites
Err 10 Posted February 1, 2006 Report Share Posted February 1, 2006 edit: sorry I just reread this thread.You want the Iframe to expand to its INSIDE contents. from what I've tried and what I know, I don't think you can, I was pretty sure that that percentage heights didn't work on Iframes. You can try and get javascript to try and reslove that problem with any luck. Quote Link to post Share on other sites
socken 0 Posted February 2, 2006 Author Report Share Posted February 2, 2006 Yeah, that's what I've seen so far too... this really su**s.. Well, never mind. I think I just set the height of the iframe to 300% (which works in IE) so all pages will fit in it.Like I said, it's not for me, it's for someone else who wants it like this. So I don't care too much Thanks! Quote Link to post Share on other sites
aspnetguy 30 Posted February 2, 2006 Report Share Posted February 2, 2006 man the life of a developer would be so easy if the clients didn't interfer...but we'd probably be living in a cardboard box without them though... Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.