Difference between revisions of "CSS GUIDE BACKGROUND POSITION"
Line 1: | Line 1: | ||
<span style="margin:0;background:#ffff33;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;">This document is a work in progress and is subject to change.</span><br /><br /> | <span style="margin:0;background:#ffff33;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;">This document is a work in progress and is subject to change.</span><br /><br /> | ||
== Summary == | == Summary == | ||
+ | Use the background-position property to specify where a background image is placed. If the image repeats (horizontally, vertically or both) then it repeats from this location. If there is a single image, it is placed using the background-position property. | ||
== Syntax == | == Syntax == | ||
− | + | <pre> background-position: top center; </pre> | |
+ | |||
== Legal Values == | == Legal Values == | ||
Revision as of 14:19, 28 November 2006
This document is a work in progress and is subject to change.
Contents
Summary
Use the background-position property to specify where a background image is placed. If the image repeats (horizontally, vertically or both) then it repeats from this location. If there is a single image, it is placed using the background-position property.
Syntax
background-position: top center;