

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 Questions & Answers
- CSS content: attr() on HTML5 progress doesn't work
- Phonegap + Windows Phone 8 : HTML5 viewport meta & scaling issue
- Python3 - Why loop doesn't work?
- MySQL system variable table_type doesn't work?
- How to actually work with HTML5 Canvas camera/viewport?
- HTML Viewport meta tag for Responsive Web Design
- The:last-child selector not working as expected in HTML5
- Expression in CASE WHEN Clause doesn't work in MySQL query?
- Why doesn't JavaScript support multithreading?
- Why Training Doesn’t Help Your Organization!
- New line separator doesn't work for group_concat function in MySQL? How to use it correctly?
- Why doesn't JavaScript have a goto statement?
- Why doesn't MySQL support millisecond / microsecond precision?
- Why doesn't C++ support functions returning arrays
- jQuery .val change doesn't change input value?
Advertisements