Link to home
Create AccountLog in
Avatar of Thread7
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
Avatar of zrgiu
zrgiu

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Hi,

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
Avatar of Thread7
Thread7

ASKER

Ok, can't do it well.