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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:02:06+00:00 2026-06-01T20:02:06+00:00

I was able to format a site properly for devices using an online resonsive

  • 0

I was able to format a site properly for devices using an online resonsive design tester and the css declaration, for example, @media only screen and (max-width: 480px) {, but when testing the site on an actual iphone these css declarations are not being computed by the browser.

I have also tried max-device-width and have set the initial scale to <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>. I have also tried the previous declaration without the initial scale setting.

I also have tried: @media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {

Also: only screen and (-webkit-min-device-pixel-ratio : 2),
only screen and (min-device-pixel-ratio : 2) {

None of this has worked to target the iphone yet. What am I missing to successfully target an iphone 3/4?

  • 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-01T20:02:08+00:00Added an answer on June 1, 2026 at 8:02 pm

    I have successfully been able to target iphone and devices using the css declaration:

    @media all and (max-width: 480px)  {
        /* put iphone css formatting here */  
    }
    

    for example. Thanks for the contributions.

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

Sidebar

Related Questions

i'm be able to retrieve the region format of the user, ad example it_IT
Is that generally possible? Is the console able to format a link so that
What I need to be able do is format data in a variable, like
I am able to get the output format that I need, but not the
I want my program to be able to write files in a sequential format,
I want to be able to send formatted text (i.e., text with format spans)
Hi I have been able to extract a VARCHAR to a date using string_to_date
I'm planning on using an instance of Markitup (http://markitup.jaysalvat.com/home/) to format HTML on a
I have recently gone into extending my site using node.js and have come to
I'm currently building a site that allows previewing photos and videos using Shadowbox. I'm

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.