Share via


backgroundPosition

backgroundPosition backgroundPosition *
*前のトピック: backgroundImage
*次のトピック: backgroundPositionX

backgroundPosition

解説

背景画像の初期位置を設定したり、設定を読み出す。

構文

object**.style.backgroundPosition**[ = backgroundPosition]

注意事項

このプロパティは読み書き可能である。

適用

HTMLタグ A, ADDRESS, B, BIG, BLOCKQUOTE, BODY, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, DD, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HTML, I, IMG, INPUT, 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, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, S, SAMP, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP
スクリプト style

CSS属性

background-position

Up トップに戻る
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.