renefo Posted December 30, 2010 Share Posted December 30, 2010 Hey, I have a website I am building for a client and would like to know how to contract the content of an embedded webpage to fit inside an inline frame. I don't want to expand the frame to accommodate the content, since I have some other stuff to put on the side. Please, let me know if you have any idea how to get about it. Here is a sample of what the site looks like. http://dreamservices.comule.com/australia.php The site might have a vertical scroll, but I don't want it to have the horizontal. I can get rid of the horizontal scroll, but this does not accommodate the entire content. Thanks and will appreciate any idea. Quote Link to comment Share on other sites More sharing options...
renefo Posted December 30, 2010 Author Share Posted December 30, 2010 Hey, I have a website I am building for a client and would like to know how to contract the content of an embedded webpage to fit inside an inline frame. I don't want to expand the frame to accommodate the content, since I have some other stuff to put on the side. Please, let me know if you have any idea how to get about it. Here is a sample of what the site looks like. http://multibusiness.comule.com/australia.php The site might have a vertical scroll, but I don't want it to have the horizontal. I can get rid of the horizontal scroll, but this does not accommodate the entire content. Thanks and will appreciate any idea. Quote Link to comment Share on other sites More sharing options...
BLaZuRE Posted December 31, 2010 Share Posted December 31, 2010 http://www.w3.org/TR/html4/present/frames.html#h-16.5 You can adjust the width and height of the iframe, but you can't make it a 'mini-browser window'. If you have access to the framed website, however, you can make some of the measurements percentage instead of fixed. That way, it conforms to its windows better. Experiment by just resizing your browser window. You'll see it's impossible to not have a vertical scroll on some websites at certain widths.. 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.