Specifies the x-position of a background image for an element.
Platform Support
IE | Netscape | Mozilla | Opera | Safari |
---|---|---|---|---|
5.0+ | no | no | no | 1.2+ |
Usage
[length | percentage | horziontal-alignment]. Example values: 50px 50px, 10% 5%, 2cm 4cm, 2cm 5%, center, etc.
Values
* | Specify a value for background-position-x not on this list. |
center | Center of the parent element or window. |
left | Left edge of the parent element or window. |
right | Right edge of the parent element or window. |
Remarks
IE only.