background-position-x

Specifies the x-position of a background image for an element.

Browser/User Agent Support

IENetscapeMozillaOperaSafari
5.0+nonono1.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.
centerCenter of the parent element or window.
leftLeft edge of the parent element or window.
rightRight edge of the parent element or window.

Remarks

IE only.

Related