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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T07:10:04+00:00 2026-06-08T07:10:04+00:00

So, I have an image wrapped in a div ( .indexWrap ): <div id

  • 0

So, I have an image wrapped in a div (.indexWrap):

<div id = "slider">      
<div class="indexWrap">                 
        <img class="indexImage" src="">                             
       </div>
</div>

There are 8 of these created on page load via php within a div called #slider. I am using smooth Div Scroll to display these images on the home page. Everything looks fine in Chrome, and looks ok in IE 8 and 9. Problem is in firefox. the auto width of div.indexWrap for each image is not setting properly. The div seems to stretch an extra 200-300px to the right. Here is the css:

#slider{
    position: relative;
    top:50px;
    width:100%;
    height:275px;
}
div.scrollWrapper
{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

div.scrollableArea
{
    position: relative;
    width: auto;
    height: 100%;
}
.indexWrap{
    float:left; 
    position:relative;
    width:auto;
    height:100%;

    padding-right:50px;
    padding-left:50px;
}
img.indexImage{
    float:left;
    position:relative;
    width:auto;
    height:100%;
}  

Here is a link to the live version with the issue: jasone.co

Edit:
And on top of this on page load each div.indexWrap is not properly padded, but as the scrolling begins the next retrieved elements are padded correctly kind of lame. May be the cause to all this.

  • 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-08T07:10:09+00:00Added an answer on June 8, 2026 at 7:10 am

    I fixed the issue by getting rid of the wrapper around the image. Not how a wanted it, but it works fine.

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

Sidebar

Related Questions

I have 1 div wrapping h2 and image wrapped in div with class img.
I have a div wrapped around an image, like this: <div class=containing-div> <div class=image-wrapper>
If I have an image with a div wrapped around it, how do I
I have a page with a wrapper div which contains a background image and
I have an image that is wrapped inside a couple of DIV elements <div
I have some images that are wrapped within containers like this: <div id=swatchcontainer> <div
I have a fairly simple layout with an image, and some textviews wrapped in
i have a div that it have image content .i wanna implement animation when
I have a div that is wrapped in a few other divs that are
I have a div wrapped around a couple span 's and using JS 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.