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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:53:15+00:00 2026-06-18T12:53:15+00:00

When testing my responsive webpage in browsers by resizing the window and using simulators,

  • 0

When testing my responsive webpage in browsers by resizing the window and using simulators, everything was fine. Now I’ve just tested the page on my real iPhone 4S with strange results.

When loading the page in vertical view, everything is good, switching to horizontal view is also not a problem.
But when I turn the phone again so that it enters vertical view again, something strange happens. The vertical version is displayed, but it seems that the body does not properly resize. I get a big empty area on the right and a vertical scrollbar, while the elements on the webpage are displayed on the left. Screenshots:

Vertical #1
enter image description here

Horizontal
enter image description here

Vertical #2
enter image description here

This is the CSS code I have on my body (Note: I am still working on that project, so the colors and the font is only temporarily written like that):

body {
    margin: 0;
    background-color: grey;
    color: black;
    font-family: Georgia, serif;
    line-height: 1.5;
    background-image: url(../img/bg.png);
}

And I also use em based media queries, like:

@media only screen and (min-width: 30em) {
   /* Stuff */
}

Inside the media queries I don’t change anything on the body.

In the head of my HTML file I have

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

Some debugging showed me, that the body element resizes correctly, but the html element does not.

Do you have any idea what could cause that problem?

  • 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-18T12:53:17+00:00Added an answer on June 18, 2026 at 12:53 pm

    Ok, I finally figured this out! See this Question, it’s the exact problem I am having.
    HTML5 Placeholder Text Adding Width In Safari Causing Scrollbars And Flickering

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

Sidebar

Related Questions

I have a Google Nexus 7 tablet I'm using for testing some responsive designs.
I am testing a controller in rails using rspec. The response body is just
I'm testing some javascript libraries I've built by using ruby's harmony . Everything is
When testing a JSON response from an RSPEC controller test using DHH's JBuilder, my
Testing.BSMain, Text: Start Page I would like to substring the value above and returning
I am writing some functionality using jQuery that i normally handle with a page
I'm testing twitter bootstrap 2 to see responsive feature in it. But I can't
I'm adding responsive styles for our website built in Plone 4 CMS and testing
I'm testing out my CSS at http://flexibletheme.tumblr.com/ and trying to make the website responsive
I have a responsive site that I'm developing where I'm using a image slider

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.