
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
Prevent iPhone from zooming in web-app with HTML
Giving a meta tag attribute "user-scalable=no" will restrict the user from zooming elsewhere.
Prevent zooming all together by adding this meta tag to your head tag. This tells the mobile browser to use the same width scale and will not allow the user to zoom in at all, hence also disables that annoying behavior. However, some might argue that this is not a very user-friendly way to handle the problem.
<meta name = "viewport" content = "width=device-width, minimum-scale=1.0, maximum-scale = 1.0, user-scalable = no">
The <select> element, used along with one or more <option> elements, creates a drop-down list of options for a web form. The <select> element creates the list and each <option> element is displayed as an available option in the list.
By setting the font-size of the input field to a font-size of 16px (or larger), we prevent the browser from zooming in on focus. Note that we use the device aspect ratio to set the font size of 16px only for devices which have the specified device-aspect-ratio.
select{ font-size: 40px; }
- Related Articles
- How to launch any arbitrary iPhone application from within another app?
- Exact Radius and Size of iPhone App Icons
- Can zooming be disabled with HTML5
- How to prevent buttons from submitting forms in HTML?
- Fun Fact Generator Web App in Python
- Where are the app cookies stored on the iPhone?
- How to disable zooming capabilities in responsive design with HTML5?
- How to completely fill web page with HTML canvas?
- Best CRMs for iPhone: Which iOs app has the features you need?
- How to create AGE Calculator Web App PyWebIO in Python?
- How to determine device type (iPhone, iPod Touch) with iPhone SDK?
- What are all the custom URL schemes supported by the Facebook iPhone app?
- How to prevent moment.js from loading locales with webpack?
- Unlimited file storage in Chrome app in HTML
- What is the best Python web app framework and why?
