Originally Posted by
mentorman
Hi guys(and gals), am wrestling with a problem at the moment of getting a web page from another site to appear in my site.Link to page at local planning office to search applications) I have put the embed code in the body box
<iframe src="http://www.herefordshire.gov.uk/planning-and-building-control/development-control/search-and-comment-on-planning-applications/" width="850" height="350" frameborder="0" scrolling="yes"></iframe>
I have changed the width even using 100% and various widths but still cannot accommodate the site in the place holder. I have increased the width of the site base and the place holder but nothing seems to get all of the site on mine. Is there a bit of code that I am missing to reduce the site viewed on my webpage.
Driving me nuts!!
Ken
Ken, it is possible to scale the contents on an IFRAME.
You add some CSS to a page Placeholder.
This reduces the scaling to 90%:
Code:
<style type="text/css">
#iframeEvents{
zoom:0.9;
-moz-transform:scale(0.9);
-moz-transform-origin:0 0;
-o-transform:scale(0.9);
-o-transform-origin:0 0;
-webkit-transform:scale(0.9);
-webkit-transform-origin:0 0;
}
</style>
and you need to add the ID into your IFRAME code:
Code:
<iframe src="http://www.herefordshire.gov.uk/planning-and-building-control/development-control/search-and-comment-on-planning-applications/" width="850" height="350" id="iframeEvents" frameborder="0" scrolling="yes"></iframe>
Acorn
Bookmarks