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?
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
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