SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    May 2013
    Posts
    197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    what to do in iphone fit all the layout in screen - getting smaller?

    polisphotos.com/store/
    what to do in iphone fit all the layout in screen - getting smaller?

    this correct:
    <meta name="viewport" content="width=device-width, maximum-scale=1.5" />
    ???

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,343
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    If you are not using media queries to deliver alternate styling to smaller devices then don't use a viewport meta tag at all.

    The viewport meta tag only makes sense if you have supplied screen width media queries so that smaller devices get a better experience. If you are not doing this then you don't need the meta tag and the device will scale the page smaller to fit. However it will look very small and users will have to zoom to read it properly. There is no quick fix but to do it properly from the start I'm afraid.

    More info here:
    http://davidbcalhoun.com/2010/viewport-metatag
    http://blog.javierusobiaga.com/stop-...il-you-know-ho
    http://webdesignerwall.com/tutorials...ponsive-design


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •