mozilla

Compare Revisions

position

Change Revisions

Revision 25415:

Revision 25415 by juandopazo on

Revision 25416:

Revision 25416 by teoli on

Title:
position
position
Slug:
CSS/position
CSS/position
Tags:
css, "CSS Reference"
css, "CSS Reference"
Content:

Revision 25415
Revision 25416
nn4 
5    <style type="text/css">
6![CDATA[.cssprop {
7    display:table;
8    padding: 0.4em;
9    border-left:0.15em solid;
10    background-color:#eeeeff
11    }
12    .cssprop li {
13    display:table-row;
14    padding: 3px;
15    margin:0;
16    }
17    .cssprop li dfn {
18    display:table-cell;
19    padding: 0 5px;
20    border-bottom: none;
21    cursor:inherit;
22    }
23 
24    ]]>
25    </style>
n10    <h3>n32    <h3 id="Summary">
n16    <ul>n38    <ul class="cssprop">
17      <li>{{ Xref_cssinitial() }}: <code>static</code>
18      </li>39      <li>
19      <li>Applies to: all elements40        <nobr><dfn>{{ Xref_cssinitial() }}:</dfn> <code>static</c
 >ode></nobr>
41      </li>
20      </li>42      <li>
21      <li>{{ Xref_cssinherited() }}: no43        <nobr><dfn>Applies to:</dfn> all elements</nobr>
44      </li>
22      </li>45      <li>
23      <li>Media: {{ Xref_cssvisual() }}46        <nobr><dfn>{{ Xref_cssinherited() }}:</dfn> no</nobr>
47      </li>
24      </li>48      <li>
49        <nobr><dfn>Media:</dfn> {{ Xref_cssvisual() }}</nobr>
50      </li>
51      <li>
25      <li>{{ Xref_csscomputed() }}: as specified52        <nobr><dfn>{{ Xref_csscomputed() }}:</dfn> as specified</
 >nobr>
n29      A <strong>positioned element</strong> is an element whose <n56      <nobr>A <strong>positioned element</strong> is an element w
>a href="/en/CSS/computed_value" title="en/CSS/computed_value">com>hose <a href="/en/CSS/computed_value" title="en/CSS/computed_valu
>puted</a> position property is <code>relative</code>, <code>absol>e">computed</a> position property is <code>relative</code>, <code
>ute</code>, or <code>fixed</code>.>>absolute</code>, or <code>fixed</code>.</nobr>
30    </p>
31    <p>57    </p>
58    <p>
32      An <strong>absolutely positioned element</strong> is an ele59      <nobr>An <strong>absolutely positioned element</strong> is 
>ment whose <a href="/en/CSS/computed_value" title="en/CSS/compute>an element whose <a href="/en/CSS/computed_value" title="en/CSS/c
>d_value">computed</a> position property is <code>absolute</code> >omputed_value">computed</a> position property is <code>absolute</
>or <code>fixed</code>.>code> or <code>fixed</code>.</nobr>
33    </p>
34    <p>60    </p>
61    <p>
35      The {{ Cssxref("top") }}, {{ Cssxref("right") }}, {{ Cssxre62      <nobr>The {{ Cssxref("top") }}, {{ Cssxref("right") }}, {{ 
>f("bottom") }}, and {{ Cssxref("left") }} properties specify the >Cssxref("bottom") }}, and {{ Cssxref("left") }} properties specif
>position of positioned elements.>y the position of positioned elements.</nobr>
36    </p>
37    <h3>63    </p>
64    <h3 id="Syntax">
n43    <h3>n70    <h3 id="Values">
n72    <h3>n99    <h3 id="Examples">
n75    <h4>n102    <h4 id="Relative_positioning">
n90    <h4>n117    <h4 id="Absolute_positioning">
n109    <h4>n136    <h4 id="Fixed_positioning">
n142    <h3>n169    <h3 id="Notes">
n163    <h3 name="Browser_Compatibility">n190    <h3 id="Browser_Compatibility" name="Browser_Compatibility">
n281    <h4>n308    <h4 id="Gecko_notes">
n287    <h4>n314    <h4 id="Internet_Explorer_notes">
n293    <h3>n320    <h3 id="Specifications">
t301    <h3>t328    <h3 id="See_also">

Back to History