The Offset CSS Properties of a box are
They are applied to the containing box in the following positioning model in order to position a box.
They are used then only when the box has one of the following position value:
Offset | Moves the boxes to the … from the containing box |
---|---|
left | right |
right | left |
top | bottom |
bottom | top |
.up {
position:relative;
bottom:10px;
}
An example on how to move a words <span class="up">Up 10 pixels</span>