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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:21:37+00:00 2026-06-11T07:21:37+00:00

Is it possible to specify that you want a background image (non-repeating) to sit,

  • 0

Is it possible to specify that you want a background image (non-repeating) to sit, say, 5px away from the RIGHT edge?

I know it’s possible to do this with CSS, but it defaults to the LEFT edge. I’d like the background image to always sit 5px away from the right edge instead.

CSS

#companyLinks li {
display: inline;
padding-right: 10px;
background-image: url(/img/shd/spacer.png);
background-repeat: no-repeat;
background-position: right center;
  • 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-11T07:21:38+00:00Added an answer on June 11, 2026 at 7:21 am

    @Francesca

    Instead writing 3 lines to define background you can use below one line code, which will serves your purpose…

    background: url(/img/shd/spacer.png) no-repeat top right;

    OR if you want it fix the position in Center then, you can use

    background: url(/img/shd/spacer.png) no-repeat fixed right;

    You’re using two Positioning value, i.e. Center & Right which is creating conflict.

    You can use one value for horizontal & one for vertical at a time.

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

Sidebar

Related Questions

Is it possible to specify that members of a nested class can be accessed
If using Fluent NHibernate, is it possible to automap most classes, but specify that
is it possible to specify that a NSMutableArray can only contain a certain type
On an Android Activity, I want to set an image as the background in
All, is it possible to specify that the entity classes mentioned in persistence.xml be
Is there a way to specify that you want an NUnit test to fail,
In the following code sniplet, I want to specify that: attachment and handler share
I want to specify that one property in an XML serializable class is an
Using EasyMock I want to be able to say that I expect a specific
What I want is specify cursor:pointer for the whole body tag, so the background

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.