Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Is this possible in an iframe

4:42 pm on Sep 1, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:June 18, 2010
posts: 167
votes: 0

I'm wondering if it is possible to add an attribute to an inframe so that the source displayed (the website in it) is displayed at a different percentage, say I have a layout of 960px of width, and the iframe takes half (480px) and I want the website in it to be seen in its entirety, so it has to be displayed at a 50% for example.

Google's SERPs do that when you click the magnifier icon but that is an image if I'm not wrong.
3:49 pm on Sept 2, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
votes: 0

If it's an external web site, no. Imagine if you could - you could change all the links in an iframed page to suit your needs.

If it's on the same domain, there are a variety of ways you could do it - pass a parameter to the containing page to make it use a different style sheet, for example.