Export (0) Print
Expand All

2.1.1.2 background-position-x

backgroundPositionX of type DOMString, read/write

Sets or retrieves the x-coordinate of the backgroundPosition property. The string value can be in the form of an absolute units designator (cm, mm, in, pt, or pc) or a relative units designator (em, ex, or px). It can also be in the form of a percentage or a horizontal alignment value.

background-position-x

Value:  

<length> | <percentage> | [ left || center || right ]

Initial:  

0%

Applies to:  

All elements

Inherited:  

no

Percentages:  

Width or height of the element

Media:  

visual

Computed value:  

As specified

Show:
© 2014 Microsoft