Grow your CSS skills. Land your dream job.

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

  • # June 7, 2010 at 9:34 am

    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.

    http://www.iavi.com/payback/survey.aspx?survey=4

    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)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".