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, 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 (percentage)

Integer, followed by a percent sign (%). The value is a percentage of the width or height of the object.

ValueMeaning
0%

 

vAlignment (vAlignment)

Vertical alignment value.

ValueMeaning
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 ToAll elements
Mediavisual
Inheritedno
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

Mshtml.dll

See also

-ms-background-position-x

 

 

Build date: 1/23/2012

Community Additions

Show: