HTML and CSS Reference
In-Depth Information
none : Removes the element from the presentation entirely, drawing no
box of any kind
Alternating elements between the trio of inline , block , and none is
sufficient for most design tasks, and as luck would have it, they are also
the most widely supported values.
The positioning of an element is based on the length of the box offset
parameters: top , right , bottom , and left . Typically, top and left will be
used for positioning elements since the top-left corner of the item being
measured from—the beginning of a box—is easily understood in normal
document flows.
static is the default value where an element is rendered in the normal
flow and not uniquely positioned. The positioning parameters top , right ,
bottom , and left do not apply.
In relative positioning, an element's position is calculated as normal, and
then the offset positioning is applied relative to this normal position.
Relative positioning does not take the element out of the normal flow,
which leaves a space behind in the element's original position.
A relative positioned element with box offsets set to 0 (or undefined) will
appear in its normal position; however, it will create a new point of origin
for any of its child elements that may be positioned absolutely.
Search WWH ::

Custom Search