background-position-y Attribute | backgroundPositionY Property
Sets or retrieves the y-coordinate of the backgroundPosition property. Syntax | HTML |
{ background-position-y : iPositionY }
|
|---|
| Scripting | object.style.backgroundPositionY [ = iPositionY ] |
|---|
Possible Values | iPositionY | Variant that
specifies or receives one of the following values.| 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 Length Units Reference. | | percentage | Integer, followed by a percent sign (%). The value is a percentage of the width or height of the object. | | vAlignment | Vertical alignment value. Possible values include the following:
| top | Vertical alignment is at the top. | | center | Vertical alignment is centered. | | bottom | Vertical alignment is at the bottom. |
|
|
The property is read/write
for all objects except the following, for which it is read-only:
currentStyle.
The property has a default value of
0%. The Cascading Style Sheets (CSS) attribute is
not inherited.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. .
Standards Information
This property is a Microsoft extension to
Cascading Style Sheets (CSS) .
Applies To |
A,
ACRONYM,
ADDRESS,
APPLET,
B,
BASE,
BASEFONT,
BIG,
BLOCKQUOTE,
BODY,
BUTTON,
CAPTION,
CENTER,
CITE,
CODE,
COL,
COLGROUP,
COMMENT,
currentStyle,
CUSTOM,
DD,
defaults,
DEL,
DFN,
DIR,
DIV,
DL,
DT,
EM,
EMBED,
FIELDSET,
FONT,
FORM,
FRAME,
FRAMESET,
HEAD,
hn,
HR,
I,
IFRAME,
IMG,
INPUT type=button,
INPUT type=checkbox,
INPUT type=file,
INPUT type=image,
INPUT type=password,
INPUT type=radio,
INPUT type=reset,
INPUT type=submit,
INPUT type=text,
INS,
KBD,
LABEL,
LEGEND,
LI,
LINK,
LISTING,
MARQUEE,
MENU,
META,
nextID,
NOBR,
OBJECT,
OL,
OPTION,
P,
PLAINTEXT,
PRE,
Q,
RT,
RUBY,
runtimeStyle,
S,
SAMP,
SCRIPT,
SMALL,
SPAN,
STRIKE,
STRONG,
style,
SUB,
SUP,
TABLE,
TBODY,
TD,
TEXTAREA,
TFOOT,
TH,
THEAD,
TITLE,
TR,
TT,
U,
UL,
VAR,
XMP | |
See Also backgroundPositionX
|
Copyright © 2006 alltechtips.com. All rights reserved.
This website and the materials and information you find on this website are provided "as is", without warranty of any kind, either express or implied, including without limitation any warranty for information, services, or products provided through or in connection with the service and any implied warranties of merchantability, fitness for a particular purpose, expectation of privacy or non-infringement.
|