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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T23:31:11+00:00 2026-06-07T23:31:11+00:00

My goal is to have several images displayed horizontally centered within a div which

  • 0

My goal is to have several images displayed horizontally centered within a div which is also horizontally centered within a wrapper. I can do this, but when I invoke jQuery’s “bounce” effect on the images, they align left.

I have fiddled around for ages and can’t get them to remain centered while they bounce.

Check it out at http://jsfiddle.net/vX3gz/2

I’m using the latest Firefox on Win7.

  • 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-07T23:31:13+00:00Added an answer on June 7, 2026 at 11:31 pm

    The reason the images are “jumping” left is because bounce is adding a couple of div elements with inline styles that set margin: 0.

    So a fairly simple work around would be to override this in your own CSS:

    #thin > div {
        margin: 0 auto !important;   
    }
    

    Note I am usually against using !important but since you are using it to override an inline style I think that it is acceptable.

    Working example: http://jsfiddle.net/vX3gz/33/

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

Sidebar

Related Questions

In fact, I have several questions, which I hope, can be answered objectively. Which
I have several tables which reference one main table using foreign keys. My goal
My goal is to have the url routing as following: http://www.abc.com/this-is-peter-page http://www.abc.com/this-is-john-page What is
The situation is this: We have several (19) sites that are currently configured to
I'll try to describe my problem as simple as I can. I have several
I have several servers running the same code but each handling specific messages (they
I know there has been several questions regarding this very question and I have
I have several log files which is named by the following pattern Log_yyyy_M_d.log Log_2010_7_1.log
I currently have several websites which live on separate domains: www.app1.com www.app2.com www.app3.com Each
I have several checboxes in my html, are generate dynamically so i can predict

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.