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 6992503
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:38:33+00:00 2026-05-27T19:38:33+00:00

Having a issue where all mobile devices is zoomed 50% in at start. That

  • 0

Having a issue where all mobile devices is zoomed 50% in at start. That is every device other than iPad. Tried to do a PHP check to scale 50% out if all other than iPad but when you moved from landscape -> portrait -> landscape it would then scale 50% out once again.

Here is my current meta tags:

<meta name="HandheldFriendly" content="true" />
<meta name="viewport" content="width=640, height=700, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />

My HTML does not use any width 100% only in px. Overall the content does not extend 640 width and 700 height.

Do anyone have any idea on how i could possible avoid this issue?

Edit

Came to the conclusion that @hakre was right about the scale of the pixels. My fix was to set every width in % rather than px. This way it auto sized no matter what. One thing to note is that i removed the scale. Reason why is that it seem to mess up the layout on some devices. Thanks once again @hakre

  • 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-27T19:38:34+00:00Added an answer on May 27, 2026 at 7:38 pm

    In CSS, the px is an absolute length unit. They are mainly useful when the output environment is known.

    For a CSS device, these dimensions are either anchored (i) by relating the physical units [in, cm, mm, pt, pc] to their physical measurements, or (ii) by relating the pixel unit [px] to the reference pixel. [additions and highlight by me]

    If the reference pixel is half of the devices display’s physical pixel a CSS value of 700px will translate to be 350px on the display – or the said 50% in your question.

    So what you experience here is totally correct, the CSS is correct in the sense that you choose pxunits, you just have missed that a px in CSS is not the same as the pixel on the display. As it isn’t but you want it to be, it looks like you have chosen the wrong unit.

    Again: absolute length units are mainly useful when the output environment is known.

    Maybe you find a way to tell the browser to modify that reference pixel? This would solve your issue. Or now as you know what happens, detect the device and change the lengths accordingly.

    As an alternative you can replace your absolute lengths with relative ones (em, ex). As they are relative, you only need to change the length of the element they are relative to, to change the whole page.

    This is commonly done by using an absolute length on the <html> and/or <body> element and relative lengths for everything else.

    This approach might help you as well to solve the problem.

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

Sidebar

Related Questions

Having an issue here that I have tried everything I can think of but
I am having an issue where all my js files that are loaded on
I'm having an issue with jQuery validation not firing in IE8. All other browsers
Very simple question... I'm having an issue that an if statement isn't working? All
This may apply to other mobile operating environments than just Symbian... However, the issue
I'm having an issue with a catch-all rule in .htaccess that is over-riding all
I am new to Windows forms and having an issue handling all the user
Hi All I am currently having an issue calling a WCF service from a
I am having an issue with a website developed using ASP.Net/C# sometimes taking all
I am having an issue with swapping images in IE6. Works fine in all

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.