Advertisement:

Author Topic: iFrame zoom issue  (Read 3651 times)

Offline colby2152

  • Sr. Member
  • ****
  • Posts: 896
  • Gender: Male
    • ProFSL
iFrame zoom issue
« 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
ProFSL.com - Pro Fantasy Sports Leagues - Advanced fantasy sports leagues, contests, free chances at cash/prizes, and sports discussion.

Need a server? I am happy to advocate this hosting solution - hands on customer service and reliability is relieving!!!

Offline Krash

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 3,970
  • Please don't feed the parasites.
Re: iFrame zoom issue
« Reply #1 on: March 03, 2012, 10:35:32 PM »
Have you tried setting a fixed zoom level for the iframe?

Code: [Select]

style="zoom: 100%;"


Offline live627

  • Developer
  • SMF Hero
  • *
  • Posts: 4,228
  • Gender: Male
  • Cat: Destroy!
    • live627 on Facebook
    • @live627 on Twitter
    • livemods
Re: iFrame zoom issue
« Reply #2 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.
I'm a morning person. I stay up until the morning.

Offline colby2152

  • Sr. Member
  • ****
  • Posts: 896
  • Gender: Male
    • ProFSL
Re: iFrame zoom issue
« Reply #3 on: March 04, 2012, 04:05:48 PM »
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!
ProFSL.com - Pro Fantasy Sports Leagues - Advanced fantasy sports leagues, contests, free chances at cash/prizes, and sports discussion.

Need a server? I am happy to advocate this hosting solution - hands on customer service and reliability is relieving!!!