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

  • Home
  • SEARCH
  • 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 8829545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:51:27+00:00 2026-06-14T07:51:27+00:00

I am using this viewport tag: <meta name=viewport content=width=device-width, initial-scale=1.0> However, the iPhone/iPad/Android devices

  • 0

I am using this viewport tag:

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

However, the iPhone/iPad/Android devices the page comes out much larger than the screen. I can only see the top left corner of the site. My web site is 900px wide.

Next I changed viewport to this:

<meta name="viewport" content="width=device-width">

Now on the iPhone and maybe iPad it comes out okay with the content zoomed out so that it is filling the screen. I’m not sure about the iPad since I don’t have one of those to test with. On Android devices this change did nothing.

What is the correct way to set view port so that a site fills the browser width?

  • 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-06-14T07:51:29+00:00Added an answer on June 14, 2026 at 7:51 am

    Try adding target-densitydpi=device-dpi to your second example. This is Android specific and works with width=device-width to tell the device that you want the page to be scaled to fit at all device resolutions.

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

Sidebar

Related Questions

Initially I used the meta tag: <meta name=viewport content=width=device-width, initial-scale=1.0/> On using this tag,
I use this meta-tag <meta name=viewport content=width=device-width, initial-scale=1.0, user-scalable=no> And I have a text
I have a website using the meta tag <meta name=viewport content=width=device-width, target-densityDpi=device-dpi> , Javascript
I have an iPhone web application that creates a meta viewport tag dynamically, using
On an iPad using Safari, go to this page: http://ifelse.org/projects/errors/viewport/test.html This is the Source:
I'm trying to configure a viewport for mobile Safari. Using the viewport meta tag,
Using this page, http://developer.android.com/sdk/compatibility-library.html , I have installed the Android Support Package, added a
Using this code, i am able to send a notification to my own device.
I'm working on ogre project by using C++. Normally I use viewport:setbackground() but this
Problem: I switch Panels using setActiveItem() according to question-answer on this link App.views.viewport.getActiveItem().setActiveItem(App.views.Panel, {

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.