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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:37:10+00:00 2026-06-13T09:37:10+00:00

If you load the following webpage code into Chrome (and smartphones) you will get

  • 0

If you load the following webpage code into Chrome (and smartphones) you will get a very strange shrinking behaviour on the img that occurs everytime the viewport crosses the 440px breakpoint. You can replicate the problem by repeatedly resizing your chrome browser smaller and then larger than 440px wide, or on your smartphone by switching back and forth between portrait and landscape. It’s actually quite hilarious when you do it several times until the image gets so small it literally just vanishes!! LOL!

Anyone know what is causing this strange behaviour and a way around it? Notable that it doesn’t happen in FireFox.

<!doctype html>
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
  <style>
    #supported-payment-options li {
      float:left;
      list-style:none;
    }
    @media (max-width: 679px) {
      img.retina-zoom { width:75%; }
    }
    @media (max-width: 440px) {
    }
  </style>
</head>
<body>

<ul id="supported-payment-options">
    <li><img class="retina-zoom" src="https://si0.twimg.com/profile_images/1695501054/book-responsive_reasonably_small.gif"></li>
</ul>

</body>
</html>
  • 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-13T09:37:11+00:00Added an answer on June 13, 2026 at 9:37 am

    Ha!, that is a funny effect. To fix it, use max-width rather than width:

    @media (max-width: 679px) {
      img.retina-zoom { max-width:75%; }
    }
    

    Edit: Note this doesn’t happen in the latest Webkit Nightly so perhaps it’s a bug that’s been fixed.

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

Sidebar

Related Questions

I have the following code that allows me to load a set URL each
I am writing an application using Cairo in C that does the following: Load
I ran the following command: LOAD DATA INFILE '/Users/Tyler/Desktop/players_20120318.txt' INTO TABLE players FIELDS TERMINATED
I'm trying to use the following code # LOAD XML FILE $XML = new
The following two lines of code load an image from an SVG file and
I'm using the following code to load an image and associated image map: <span><%=
I have an javascript that I place into a page using the code below.
I'm trying to compartmentalize the code for a webpage to load code only when
I'm trying to load a webpage html in my Android app with the following
I have the following code to load a file after creating a web page

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.