backgroundPositionX property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the x-coordinate of the background-position property.
Syntax
Integer value = object.put_backgroundPositionX(Variant v);Integer value = object.get_backgroundPositionX(Variant* iPositionX);
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% hAlignment (hAlignment)
-
Horizontal alignment value.
Value Meaning left Horizontal alignment is to the left.
center Horizontal alignment is centered.
right Horizontal alignment is to the right.
String format
length | percentage | hAlignment
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-x attribute is an extension to CSS, and can be used as a synonym for background-position-x 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