Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7637839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:01:53+00:00 2026-05-31T08:01:53+00:00

I am trying to implement responsive web design and I have set the viewport

  • 0

I am trying to implement responsive web design and I have set the viewport size like this:

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

I thought that it would make the viewport width size whatever the width the device has. Let say a Samsung Galaxy Nexus which has 720px would make a viewport size which is 720px, however it reports that the viewport size is 320px, that is the half width size.

I am using CSS media queries and I checked with alert($(window).width());

It uses this:

<link href="css/mobile-medium.css" media="all and (min-width: 320px) and (max-width: 479px)" rel="stylesheet" type="text/css" />

Instead of this:

<link href="css/mobile-large.css" media="all and (min-width: 480px) and (max-width: 767px)" rel="stylesheet" type="text/css" />

I don’t understand why it does this!? The same happens on other Android devices as well as iPhone 4(S).

How are you going to understand what you match with the different css media queries when the size it reports is totally different?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T08:01:54+00:00Added an answer on May 31, 2026 at 8:01 am

    The issue would likely be caused by higher pixel density (-webkit-min-device-pixel-ratio property) and could be handled as suggested here: Media queries in CSS

    Edit:

    This link could provide some insight, but to be honest I’m out of my depth here right now: http://menacingcloud.com/?c=highPixelDensityDisplays

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to implement a highly responsive UI for my MVVM application, so I've
Im trying to implement an Observer/Observable pattern on an EC2 instance. I have been
I'm trying to implement a basic web server in Java. When I direct a
Background I am trying to implement a RESTful web service using Apache-CXF that interacts
Hi I have been trying to implement auto complete in my site from 2
I am trying to implement auto closing custom helper. I have found how to
I'm trying to implement a simple web server on Linux that connects to the
i'm trying to implement a basic mvc pattern for a java web app project
On my ASP.NET MVC application, I am trying to implement a URL like below
I have implement a web service using jersey and I have a client making

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.