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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:04:09+00:00 2026-06-05T14:04:09+00:00

Not exactly sure how to phrase the question in the first place here but

  • 0

Not exactly sure how to phrase the question in the first place here but I’ll give it a go.

I have an image that I want to fixed-scroll down the page, which I want to change colour smoothly as it enters a second div with a different coloured background. I’ve got the divs sorted, the images placed perfectly and the effect I want working excellently – my only problem now is that I cannot align the two images for the life of me, due to using percentages etc.

I have a working example here you’ll certainly need to look at – jsFiddle – you may need to resize the page around a little bit to understand the particular alignment issue I’m having. The top “Hello” sits a set amount off-center, which I want to achieve with the second “Hello”. I just can’t get it to happen! Any suggestions? I’ve been looking at possible jQuery solutions but no luck so far.

Thanks heaps for any answers. Cheers.

  • 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-05T14:04:11+00:00Added an answer on June 5, 2026 at 2:04 pm

    Well. Seems I found a solution, though I wouldn’t call it ideal. It works well though! After Chad said to try background-position: left center; I realized if I simply put the image as background-position: center; and made the image have a bunch of blank space to one side, with enough twiddling on photoshop I’d manage to line the two up. Works great now, lines up perfectly in all my browsers.

    Here’s the example – jsFiddle (though you cant see much of a change in it, as it’s the image itself that had to be altered.)

    Thanks for the replies guys.

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

Sidebar

Related Questions

I'm not exactly sure how to phrase this, but here goes... We have a
I'm not sure exactly how to phrase this, but here goes: I have a
Not sure how to phrase this question exactly, but I'll give it a shot.
I have an interesting question, but I'm not sure exactly how to phrase it...
Not exactly sure on the terminology here but here I go basically I have
Well i m not sure how to exactly phrase this but here i go.
(I'm not sure exactly how to phrase the title here, and because of that
I'm not exactly sure how to word this in English, but I want to
I'm not exactly sure whether or not this is a silly question, but I
So I'm not exactly sure if the title fits it best, but here's what

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.