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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:55:45+00:00 2026-06-09T14:55:45+00:00

My website works fine on desktop browsers, but on mobile devices (iOS, Android, etc.)

  • 0

My website works fine on desktop browsers, but on mobile devices (iOS, Android, etc.) it will reload the background and seemingly refresh the whole page anytime I zoom in or out. I was wondering what might be causing this, but up to this point, I’ve been unable to locate the cause of the problem. It makes mobile browsing very irritating.

http://www.zombiesquirrel.com

All the CSS and JavaScript files should be linked in the source of my page. What could be causing this issue?

  • 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-09T14:55:46+00:00Added an answer on June 9, 2026 at 2:55 pm

    I was able to solve the problem. The issue was in the following CSS:

    body
    {
        background-color:black;
    }
    
    
    div.back3
    {
    
    background-image:url("back.png");
    position:fixed;
    z-index:-1;
    margin-left:-2%;
    margin-top:-100%;
    padding:0;
    height:400%;
    width:104%;
    } 
    
    div.back2
    {
    
    background-image:url("back.png");
    background-position:250px 250px;
    position:fixed;
    z-index:-1;
    margin-left:-2%;
    margin-top:-28%;
    padding:0;
    height:400%;
    width:104%;
    }
    
    div.main
    {
    position:static;
    }
    

    I’m not sure exactly which part of this caused the problem, I’ll do some more digging, but for now I simply used the following to specify that this CSS stylesheet only be used on non-mobile devices:

    <link rel='stylesheet' href='/z/styles/main-style.css' media='screen and (min-device-width:770px)'>

    The min-device-width property is set to that high a number to make sure the iPad also doesn’t use this stylesheet (though I may run into problems if machines are close to the iPad size, but this stylesheet isn’t super critical to my site’s operation anyway).

    Thanks!
    EDIT: Special thanks to Andrew Manson for the suggestion of disabling the stylesheet only for mobile devices.

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

Sidebar

Related Questions

I've installed CKEditor on my website and it works fine in recent browsers, but
I developed a website in ASP.Net and it works fine in all browsers except
I have a website which works fine in all browsers except in IE6. The
My website works fine on my local mashine but crashes on heroku. Here is
Using IIS7.5, the website works fine in Visual Studio but when I try to
I have tested my website on all browsers and it works fine: http://bgsorken.com/sandbox/index.php Besides
My local copy works fine, then I publish the website and I get this
I have created a nice joomla website with a sprite navigation that works fine
I'm currently developing a website. Every feature works fine. However, I'm using a lot
I have a website with a Silverlight-enabled WCF service. The service works fine, and

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.