The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Can the iPhone Safari to Scale an Image relative to my bg?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #29267

    I’m working on this page that features an image that has been positioned above my content. The desired effect is to have the giftcard image appear above the white div that holds my form.

    I’m trying to get this to display properly on the iPhone but I can’t figure it out. The iPhone is scaling my background image down to fit the iPhone’s viewport. Which is fine because if it didn’t resize it, it would be huge. The problem is that my giftcard image relies on being lined up with the background. The iPhone is not resizing my image so it looks screwy.

    Is there a way to tell the iPhone to scale an image the same amount as it is scaling the background?

    Or alternatively, can I tell the iPhone specifically to just hide the image?

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.