Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

backgroundPositionY property

The y-coordinate of the IHTMLRuleStyle::backgroundPosition 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 a supported length unit.

percentage (percentage)

Integer, followed by a percent sign (%). The value is a percentage of the 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> | top | center | bottom

CSS information

Applies ToAll elements
Mediavisual
Inheritedno
Initial Value0%

Standards information

There are no standards that apply here.

Remarks

Starting in Windows Internet Explorer 8, the IHTMLRuleStyle::backgroundPositionY property is an extension to Cascading Style Sheets (CSS), and can be used as a synonym for background-position-y in IE8 Standards mode.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLRuleStyle::backgroundPositionX

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.