#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    64
    Rep Power
    2

    Safari Mobile Devices - Zoom In/Zoom Out


    I'm not sure if I'm missing an element, but i'm having an issue with zooming in and out on my page on both my iphone and ipad; it doesn't work. (simultaneously bringing two fingers together or apart to zoom)

    I've never had this issue with any of my other websites in the past. Below I've included the CSS for my main content areas. If it looks like I'm missing something, or if anyone has a suggestion of what may be causing the problem I would appreciate any help.

    CSS
    Code:
    html, body{
    	min-height:600px;
    	height:100%;
    	min-width:1200px;
            width:100%;
    	background-color:#ffffff;
    }
    
    div#container{
    	min-height:600px;
    	height:100%;
    	min-width:1200px;
    	width:100%;
    }
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Dec 2003
    Posts
    710
    Rep Power
    441
    Do you have a <meta name="viewport" .../> tag in your page? If yes, check if you have user-scalable = no set in there.

    Comments on this post

    • nbasso713 agrees
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    64
    Rep Power
    2
    Originally Posted by rdoyle720
    Do you have a <meta name="viewport" .../> tag in your page? If yes, check if you have user-scalable = no set in there.
    You're a genius! I missed that my facebook app changed the attribute on me. Thanks a lot this was driving me crazy.

IMN logo majestic logo threadwatch logo seochat tools logo