Open main menu

CDOT Wiki β

Changes

CSS GUIDE BACKGROUND-POSITION-X

229 bytes removed, 13:25, 13 December 2006
no edit summary
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 ==
Establish the location of the left (x) or top (y) edges of the background image specified with the background-image attribute.This tag allows the user to specify the percentage of the block-level element's box width or height (respectively) at which the image (or repeated images) begins. Instead of percentages, you can specify length values (in the unit of measure that best suits the medium). In lieu of the numerical values, you may use one axis-specific constant value per attribute.
<br>
<br>
<th>Value</th>
<th>Description</th>
</tr>
<tr>
<th>percentage</th>
<th>percentage of the block level element</th>
</tr>
<tr>
<th>length/th>
<th>length values (in the unit of measure that best suits the medium</th>
</tr>
<tr>
<th>left</th>
<th>aligns object to the left on the x - axis</th>
</tr>
<tr>
<th>centre</th>
<th>aligns object to the centre on the x - axis</th>
</tr>
<tr>
<th>right</th>
<th>aligns object to the right on the x - axis</th>
</tr>
1
edit