1
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>CSS
2.1 Test Suite: Order of counters in out-of-flow content
</title>
5 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/generate.html#counters">
6 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/generate.html#propdef-content">
7 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/syndata.html#counter">
8 <style type=
"text/css">
10 ul
{ display: block
; margin: 0; padding: 0; counter-reset: c
; }
11 li
{ counter-increment: c
; }
12 li
, div
{ display: block
; margin: 0; padding: 0;
13 width: 3em; border: thin solid
; }
14 li:before
, div:before
{ content: counter
(c
); }
16 #four { border: none
; }
17 #four:before
{ content: none
; }
20 #three { position: relative
; }
21 #four { position: relative
; }
22 #four div
{ position: absolute
; left: 8em; }
23 #six { position: absolute
; top: 5em; left: 12em; }
24 #eight { position: fixed
; top: 8em; left: 4em; }
30 <p>You should see nine boxes below, each just containing a unique
31 multiple of eleven, from
11 to
99, and nothing else.
</p>
37 <li id=
"four"><div>4</div></li>