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
- Animatable
- No
- 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
, orpc
) or a relative units designator (em
,ex
, orpx
). 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
background-position-y
Related pages
- CSSStyleDeclarationCSSStyleDeclaration
- currentStylecurrentStyle
- defaultsdefaults
- runtimeStyleruntimeStyle
- stylestyle
- -ms-background-position-x-ms-background-position-x
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]