CSS Reference / background-position
background-position
Sets the starting position of a background image. This property may only be applied to block-level elements and replaced elements. A replaced element is one for which only the intrinsic dimensions are known; HTML replaced elements include IMG, INPUT, TEXTAREA, SELECT, and OBJECT.
Values:
top left top center top right center left center center center right bottom left bottom center bottom right x-% y-% x-pos y-pos
Examples:
background-position: top left; background-position: 10% 50%; background-position: 10px 20px;
Browser support:
Internet Explorer 4+ Netscape 6+ Opera 3.6+
Related properties:
CSS properties
background background-attachment background-color background-image background-position background-repeat border border-bottom border-bottom-color border-bottom-style border-bottom-width border-collapse border-color border-left border-left-color border-left-style border-left-width border-right border-right-color border-right-style border-right-width border-spacing border-style border-top border-top-color border-top-style border-top-width border-width bottom caption-side clear clip color cursor display empty-cells float font font-family font-size font-size-adjust font-stretch font-style font-variant font-weight height left letter-spacing line-height list-style list-style-image list-style-position list-style-type margin margin-bottom margin-left margin-right margin-top max-height max-width min-height min-width outline outline-color outline-style outline-width overflow padding padding-bottom padding-left padding-right padding-top position right table-layout text-align text-decoration text-indent text-shadow text-transform top vertical-align visibility white-space width word-spacing z-index
