Simple Machines Community Forum

General Community => Scripting Help => Topic started by: colby2152 on February 28, 2012, 09:46:17 PM

Title: iFrame zoom issue
Post by: colby2152 on February 28, 2012, 09:46:17 PM
If you go to the main page of profsl.com, you will see a JPG take up the majority of the page.

There is a quote on the bottom and a shield in the upper right hand corner.  On Firefox, it appears to work just fine, but on Safari, it zooms slightly into the image contained within the IFRAME.  I then noticed a zoom is enabled on browsers, and it is just that Safari automatically zooms in to the image.  With all of that said, what setting can I add into the IFRAME HTML code, so that it DOES NOT allow zooming? ::) ::) ::) :o :o :o

THANKS! 8) 8) 8) 8) 8) :P :P :P :P
Title: Re: iFrame zoom issue
Post by: Sir Osis of Liver on March 03, 2012, 10:35:32 PM
Have you tried setting a fixed zoom level for the iframe?



style="zoom: 100%;"


Title: Re: iFrame zoom issue
Post by: live627 on March 04, 2012, 01:22:21 AM
The underlying issue here is the image. It is 680 pixels wide, while the frames (both) are 640.

Firefox shrinks the image to fit.

Resetting the zoom will do nothing.
Title: Re: iFrame zoom issue
Post by: colby2152 on March 04, 2012, 04:05:48 PM
Quote from: live627 on March 04, 2012, 01:22:21 AM
The underlying issue here is the image. It is 680 pixels wide, while the frames (both) are 640.

Firefox shrinks the image to fit.

Resetting the zoom will do nothing.

Doh!  Thanks!