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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T14:51:59+00:00 2026-05-31T14:51:59+00:00

Background : I am developing a mobile site with lost of images, that take

  • 0

Background: I am developing a mobile site with lost of images, that take time to load on a 3G connection.

The way my mobile site is designed, is that when a user clicks on a link, the page will open somewhere in the middle of the text (position is defined by a div id).

The problem is this: If a user is reading pagetext in the middle of the HTML page, and an image loads up above the text, mobile safari actually pushes down the text below the viewport. So the user loses his position and has to scroll to find where he was at.

With a page that has lots of images, this happens over and over and over again.

The images themselves are user posted images from all around the internet, so the width and height of the images aren’t known ahead of time (to use the simple width/height attributes in the images src)

The question is this: I would like safari to maintain the person’s current reading position, regardless of whats going on with image loading above and below the position on the page the user is currently at.

Demonstrative example:

<div id="#p1">
Text text
<img>
<img>
<img>
</div>

<div id="#p2">
Text text
<img>
<img>
<img>
</div>

<div id="#p3">
Text text
<img>
<img>
<img>
</div>

<div id="#p4">
Text text
<img>
<img>
<img>
</div>

So if the viewport starts centered at div id #p3 on initial page load, and then the images in div #p1 and #p2 start filling in slowly over the 3G connection, Safari just pushes down the content to make room for the images, and the user is now staring at a bunch of images from div #p2 instead of the starting text of div #p3.

Thanks!

  • 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-31T14:52:00+00:00Added an answer on May 31, 2026 at 2:52 pm

    Simple: Define the image width and height in your HTML for every image. Then the renderer knows how much space to leave in the rendered page for the incoming images, and scrolling can’t be affected.

    This is how it was solved years ago when everyone still had dial-up.

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

Sidebar

Related Questions

I am developing a mobile site and have noticed that on android all the
Background: At my company we are developing a bunch applications that are using the
Im developing an app that has to run in the background. It's a location
I am developing a mobile site, so I'm using CSS to make things as
Background: As I'm developing an app that needs to be run on a device,
Background I'm developing a research application that runs on Android phones. In short, the
Background I am developing an ASP.Net server side control that needs to talk to
I have a class that I need to Unit Test. For background I'm developing
Background This is only my second PyQt4 project. Developing a Windows app that has
Background Developing for Android 3.0, I have a HostActivity that is the superclass of

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.