socken Posted February 1, 2006 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??? Link to comment Share on other sites More sharing options...
aspnetguy Posted February 1, 2006 Share Posted February 1, 2006 The size of the content in the iframe or the content beside the iframe? Link to comment Share on other sites More sharing options...
socken Posted February 1, 2006 Author 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. Link to comment Share on other sites More sharing options...
Err Posted February 1, 2006 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. Link to comment Share on other sites More sharing options...
socken Posted February 2, 2006 Author 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! Link to comment Share on other sites More sharing options...
aspnetguy Posted February 2, 2006 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... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now