- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
HTML5 meta name = “viewport” doesn't work as expected
To solve the issue for HTML5 meta viewport, you can any of the following fix:
<meta name = "viewport" content = "user-scalable = no, initial-scale = 1, maximum-scale = 1, minimum-scale = 1, width = 400, height = device-height, target-densitydpi=medium-dpi" />
You can also try this:
<meta name = "viewport" content = "width=device-width, initial-scale = 1;"/>
Let us say you have a site width of 100px, then it won’t display the whole page, with
initial-scale = 1
- Related Articles
- CSS content: attr() on HTML5 progress doesn't work
- Python3 - Why loop doesn't work?
- MySQL system variable table_type doesn't work?
- Phonegap + Windows Phone 8 : HTML5 viewport meta & scaling issue
- Expression in CASE WHEN Clause doesn't work in MySQL query?
- Why doesn't height: 100% work to expand divs to the screen height?
- Why doesn't JavaScript support multithreading?
- How to actually work with HTML5 Canvas camera/viewport?
- Why doesn't C++ support functions returning arrays
- Why doesn't JavaScript have a goto statement?
- Why doesn't MySQL support millisecond / microsecond precision?
- jQuery .val change doesn't change input value?
- New line separator doesn't work for group_concat function in MySQL? How to use it correctly?
- HTML Viewport meta tag for Responsive Web Design
- Why JavaScript 'var null' throw an error but 'var undefined' doesn't?

Advertisements