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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:27:06+00:00 2026-06-07T11:27:06+00:00

I noticed that a standard :hover on images, which are displayed with an unoriginal

  • 0

I noticed that a standard :hover on images, which are displayed with an unoriginal width value, will lead to a slight wobbling animation when the mouseover takes effect. I assume this is due to some pixel rounding taking place, but why is the image displayed different when hovered?

Please refer to my test case on http://jsfiddle.net/z29LM/8/

Notice that the first two images are fine when hovered (because they use the original image width/height), but all the others seem to add like 1 pixel to the right and the bottom. It does not seem to matter which kind of hover effect is applied (background-color will lead to the same problem, for example).

So the workaround seems to be to open up Gimp and adjust the images to the target width/height manually, or is there a html/css fix for this phenomenon?

edit:
So this seems to be a Firefox-only bug (using 13.0.1). The link posted in the answer suggests a quick fix by adding box-shadow: #000 0em 0em 0em; to the image element. See http://jsfiddle.net/z29LM/9/ for a fixed/working version.

  • 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-07T11:27:08+00:00Added an answer on June 7, 2026 at 11:27 am

    It’s a bug with Firefox (it was initially fixed once upon a time, but re-emerged after FF10).

    My sage advice? Keep the browser-resizing at a minimum.

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

Sidebar

Related Questions

I've noticed that on most, if not all, standard web controls in the System.Web.UI.WebControls
I noticed that my Eclipse does not include JSP Editor. Does standard JSP editor
I have a table with a fixed width of 800. I noticed that when
I was reading the C Standard the other day, and noticed that unlike signed
I've noticed that standard input fields and select-elements adds 1 or 2px padding around
I've noticed that the bog-standard ProgressBar in .NET 2.0 (Winforms) does show up as
Has anyone else noticed that IE9's standard implementation of CSS box-shadow differs from other
I've noticed that apps like instagram and picplz have a fairly standard screen that
I've noticed that jQuery can create, and access non-existent/non-standard HTML tags. For example, $('body').append('<fake></fake>').html('blah');
A while ago, I had noticed that when encoding a map name: value to

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.