You can position your background image in an editor to be x pixels from the right side. background: url(images_url) no-repeat right top; The background image will be positioned in top right, but will appear to be x pixels from the right.
Position a CSS background image x pixels from the right?
stackoverflow.com > questions > position-a-css-background-image-x-pixels...
For center or positioning the background image you should use background-position property . The background-position property sets the starting position of a background image from top and left sides of the element . The CSS Syntax is background-position : xvalue yvalue; .
How to center a (background) image within a div? - Stack Overflow
stackoverflow.com > questions > how-to-center-a-background-image-withi...
You can easily position an image by using the object-position property. ... Property Value:
1. left: Place an element on its container's right.
2. right: Place an element on its container's left.
3. inherit: Element inherits floating property from it's parent (div, table etc…) elements.
4. none: Element is displayed as it is (Default).
How to set position of an image in CSS ? - GeeksforGeeks www.geeksforgeeks.org > how-to-set-position-of-an-image-in-css