This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

background-position-y

Summary

Sets vertical starting position of a background image.

Overview table

Initial value
0%
Applies to
All elements
Inherited
No
Media
visual

Computed value
:

Animatable
No

CSS Object Model Property
:

Percentages
Width or height of the element

Syntax

  • background-position-y: length
  • background-position-y: percentage
  • background-position-y: vAlignment

Values

length
Floating-point number, followed by an absolute units designator (cm, mm, in, pt, or pc) or a relative units designator (em, ex, or px). For more information about the supported length units, see CSS Values and Units Reference.
percentage
Integer, followed by a percent sign (%). The value is a percentage of the width or height of the object.
vAlignment
Vertical alignment value.

Notes

Remarks

Windows Internet Explorer 8. The -ms-background-position-y attribute is an extension to CSS, and can be used as a synonym for background-position-y in IE8 Standards mode.

Syntax

-ms-background-position-y: length | percentage | vAlignment

Standards information

There are no standards that apply here.

See also

Related articles

Background

Related pages

Attributions