Skip navigation
mattdwm 181 posts
Sep 6, 2010
Currently Being Moderated

Fluid Grids Layout and iPhone reorientation

May 27, 2012 5:49 PM

I tried creating a new Fluids Grid Layout. When I view the page on my iPhone 4S in portrait it displays correctly. But when I tilt it into landscape the page is to wide. So I have to pinch out to get it looking right.

 
Replies
  • Currently Being Moderated
    May 27, 2012 5:49 PM   in reply to mattdwm

    Can you please post a link to the page in question?

     
    |
    Mark as:
  • Currently Being Moderated
    May 27, 2012 6:19 PM   in reply to mattdwm

    Nothing you are doing wrong or anything wrong with the code.  If you search Google for iOS zoom bugs on screen rotation you will see tons of results.  Repsonive CSS is still in very early stages, despite the progression of mobile devices.  If you started in landscape orientation and loaded the page in that orientation it will look ok.  It's just the action of changing the orientation that causes this.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 25, 2012 8:36 AM   in reply to mattdwm

    You may also want to try <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> if you don't want a javascript solution. NOTE: both solutions will eliminate the ability to pinch zoom.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (1)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points