backgroundPositionY property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the y-coordinate of the background-position property.
Syntax
Integer value = object.put_backgroundPositionY(Variant v);Integer value = object.get_backgroundPositionY(Variant* iPositionY);
Property values
Type: VARIANT
length (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 (percentage)
-
Integer, followed by a percent sign (%). The value is a percentage of the width or height of the object.
Value Meaning 0% vAlignment (vAlignment)
-
Vertical alignment value.
Value Meaning top Vertical alignment is at the top.
center Vertical alignment is centered.
bottom Vertical alignment is at the bottom.
String format
length | percentage | vAlignment
CSS information
| Applies To | All elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value |
Standards information
There are no standards that apply here.
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.
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
DLL |
|
See also
Build date: 1/23/2012