Specifies the y-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 | vertical-alignment]. Example values: 50px 50px, 10% 5%, 2cm 4cm, 2cm 5%, center, etc.
Values
* | Specify a value for background-position not on this list. |
top | Top of the parent element or window. |
center | Center of the parent element or window. |
bottom | Bottom of the parent element or window. |
Remarks
IE only.