Almost the same question as this morning. Is it possible to open an page in a frame en have it automatically resized to the size of the frame, so you don't have to scroll to see the whole page.
sorry, its not like an image where everthing stretches to fit the area. A page can fit into a certain min width and a certain min height if a container is any less that those minimum dimensions you are gonna lose visibility of certain areas (if you do not have scrollbars on the frame).
Yes you can. Put everthing in the page that's being displayed inside of a table with width="100%". Everything should resize just fine to anysize frame or window.
Rick If I have helped you just click the first link below to let me know
Your previous suggestion when using style="width:90%; height:90%" worked well. Problem is that I get the pages delivered (from word), so, if possible, I want to shrink the pages in the frame.
If i remember correctly that was for images, I dont think you are gonna have the same luck with HTML pages or Word docs.
May be try looking at the 'zoom' style property. From its definition it looks like it may help you out. You will more than likely have to use scripting to capture the resize event and then adjust the magnification.
Find out the height and width of the frame, then find out the scroll height and width of the frame and then set the zoom percentage level accordingly, there will probably be a little math involved but nothing too heavy
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.