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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:08:11+00:00 2026-05-12T06:08:11+00:00

i created a carousel in jquery that slides an item or set of items

  • 0

i created a carousel in jquery
that slides an item or set of items up or down.

the demo page i created uses 1 item per page/slide/visible section…

but its not that hard to expand it to 2 or 3…

it has some other features that i embedded, but those are not important for this question.

using the carousel in Internet Explorer 6 or 7 (have not tried 8 yet)
it does all the functionality, but it slides less than its supposed to.

i have checked every thing from padding to margins because i know those are usually the problem between browsers. yet still, when you slide down once you will not really see the problem because its only 5 or 10 px off, but if you start sliding a few times it adds up.

can anyone take a look and see if they can find something that i am not noticing?

i cannot add the whole code in this post, but i add a link to the html file
and to a zip file containing the whole code including images.

link to the demo: demo
link to the source: source zip

Sander

EDIT
i as mentioned in the comment below, i modified the code a bit, as Emily suggested i got rid of the margins and even went further, removed all margins and padding between items, fixed imgs to view the difference between items alternatingly having bgcolor changed.

that got me to notice even firefox is off by 5px, yet it does not increment with each page change. while IE6 – 7 add 5 px every page change.

link to the changed version: changed demo

Sander

EDIT after fixed
i re-uploaded the zip file, with now also including the working version after the fix from Emily. so anyone who wants to use the script feel free to get it from the link above…

  • 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-12T06:08:12+00:00Added an answer on May 12, 2026 at 6:08 am

    It’s the double vertical margin bug in ie. Since you are using absolute positioning, just set top:16px instead of bumping it down with the margin.

    .FotoCarousel .wrapper {
      height:100px;
      position:absolute;
      top:16px;
      width:159px;
    }
    

    edit after comment

    Change

    .FotoCarousel ul li a img {
      display:block;
    }
    

    to

    .FotoCarousel ul li a img {
      vertical-align:bottom;
    }
    

    Having a block level element (the img) inside a inline level element (the a) is inconsistantly rendered between browsers. Also IE6/7 will leave space for descenders even if you do have only an image and no text. The vertical-align:bottom removes that space.

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

Sidebar

Related Questions

I've created a slide carousel and it uses pseudo element :before to identify the
I have a jQuery script that creates a carousel to rotate images left and
Using the TinyCarousel program I created the following sample page. http://www.dealred.com/wa/jqimage.htm The carousel is
I'm using jquery.ui.tabs to create a carousel. On the same page is a superfish
I created a little fadeIn/fadeOut carousel in jQuery and it's working fine in every
I am trying to create a carousel that contains 7 days with items under
I've created a carousel using jQuery and I would like to add auto-play functionality
I have played around and implemented JQuery cycle to create a carousel with images,
I created a JButton which has an image set as an icon representing the
I have built a carousel using the jQuery cycle plugin. I have 4 links

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.