backgroundPositionX property
The x-coordinate of the IHTMLRuleStyle::backgroundPosition property.
Syntax
Integer value = object.put_backgroundPositionX(Variant v);Integer value = object.get_backgroundPositionX(Variant* iPositionX);
Property values
Type: VARIANT
length
-
Floating-point number, followed by a supported length unit.
percentage
-
Integer, followed by a percent sign (%). The value is a percentage of the width of the object.
Value Meaning 0% left
-
Horizontal alignment is to the left.
center
-
Horizontal alignment is centered.
right
-
Horizontal alignment is to the right.
String format
<length>
|
<percentage>
| left | center | right
CSS information
| Applies To | All elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value | 0% |
Standards information
There are no standards that apply here.
Remarks
Starting in Windows Internet Explorer 8, the IHTMLCurrentStyle::backgroundPositionX property is an extension to Cascading Style Sheets (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 |
|
|
IDL |
|
|
DLL |
|
See also
Build date: 11/12/2012