Byron Posted December 12, 2007 Share Posted December 12, 2007 I've been working on a site of mine recently, and am having 1 major problem. If you look at http://www.rivalryguild.com/ you'll see that the side links open in an iframe in the middle of the page. Unfortunately, what this creates is a scroll bar in the iframe, and sometimes the entire page too. What I would like to do is make some sort of vertically expanding content box that essentially works like an iframe, but auto-expands to fit the page it's displaying. So if i have a 100px tall page, its 100px, or if I have a 10 page long forum post, it adjusts accordingly. From what little I've heard, this can be done relatively simply in php. The problem being that I've never used php, and have berely touched any sort of CSS or Javascript. Any examples or pokes in the right direction would be great. Right now I don't know where to start, so any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
JacobYaYa Posted December 12, 2007 Share Posted December 12, 2007 Why not just make that iframe a div, it will resize vertically to fit it's content? Quote Link to comment Share on other sites More sharing options...
JacobYaYa Posted December 12, 2007 Share Posted December 12, 2007 Looking at how you have that forum page squashed into that iframe you should definately use a div or just make it when users click through to the forum it fills the window. Quote Link to comment Share on other sites More sharing options...
Byron Posted December 12, 2007 Author Share Posted December 12, 2007 Well then, that sounds like a good idea. Can i still put an external page inside a div? Having learned all my html skills 5 years ago doesnt help me any on this. Quote Link to comment Share on other sites More sharing options...
Byron Posted December 12, 2007 Author Share Posted December 12, 2007 Anyone able to give a bit more help? Im pretty new when it comes to this. Quote Link to comment Share on other sites More sharing options...
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.