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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:46:30+00:00 2026-05-31T03:46:30+00:00

Anybody encounter this kind of problem with CSS before? I have a header that’s

  • 0

Anybody encounter this kind of problem with CSS before?

I have a header that’s set to 100% width, with an image on the left side (500px wide). I have a background-image which I’d like to fill in for the remaining space horizontally, but not where the image is. Therefore, I set background-position: 500px 0; and presume the background begins at 500px distance from the left side of the browser. But it doesn’t. It only works if I set the repeat-property to background-repeat: no-repeat; I just spent 1,5 hours trying to find a solution with no luck, and eventually solved this by adding a margin-left: 500px; to the header and a negative 500px margin-left to the image. Am I missing something here? Why can’t I tell my background to start tiling horizontally from x-coordinate 500?

  • 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-31T03:46:31+00:00Added an answer on May 31, 2026 at 3:46 am

    Am I missing something here? Why can’t I tell my background to start tiling horizontally from x-coordinate 500?

    background-position does not set the origin of the background from which to repeat rightward or downward. It simply shifts the entire background a certain distance along the x and y axes respectively.

    When you specify a background to repeat along an axis, it always tiles infinitely in both directions along that axis (i.e. left and right along the horizontal axis, up and down along the vertical axis). You won’t be able to change this using CSS’s background properties.

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

Sidebar

Related Questions

Anybody have a slicker way to do this? Seems like it should be easier
Can anybody tell me how are exceptions handled in PHP? I have this code
I'm using the new API to set the width of my jqGrid like this:
I have my current base sdk set to iOS 4.2. I have this method:
Anybody have a good example how to deep clone a WPF object, preserving databindings?
Anybody knows how to do this? I got all the information of the email
Anybody know how to get gmail's OpenID working? All I find is this http://openid-provider.appspot.com/
Anybody in the know of a viewer (or Notepad++ plugin) that can read txt
Anybody have good examples of usability disasters? Here's an example. Hector is a manager
recently I've encountered a problem with IE. I have a function function() { ShowProgress();

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.