Thread7
asked on
Scale the html inside an iframe.
I have an iframe in a page and want toscale the html that appears inside it so that it is smaller an fits the surrounding page better. Is there any way to do this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok, can't do it well.
You could do something for the horizontal direction, by setting the css width atribute to 100%. You can do the same gfo the vertical direction, height: 100%, but if you are in the xhtml standard, only the horizontal will stretch to the width of the iframe... However, if you have content that is wider than the space the iframe provides, it will stretch beyond it. So, as long as you take note that the content in the iframe is not wider, the "width: 100%" in css should work for you