M
Marek
When I use "list-style-type:decimal;" in Mozilla I get numbering only with
"zero":
0. aaaa
0. bbb
0. cccc
Why there is no incrementation?
In IE 6.0 there is no numbering:
aaaa
bbb
cccc
Here is my XML
<list>
<item>aaa</item>
<item>bbb</item>
<item>ccc</item>
</list>
and CSS:
list{
margin-left:40px;
display:block;
list-style-type:decimal;
counter-reset: item;
}
list item {
display:list-item;
}
list{
content: counter(item);
counter-increment: item;
}
I know that Mozila doesn't support counters. I tried without it, but it
doesn't work.
PLEASE HELP ME!
"zero":
0. aaaa
0. bbb
0. cccc
Why there is no incrementation?
In IE 6.0 there is no numbering:
aaaa
bbb
cccc
Here is my XML
<list>
<item>aaa</item>
<item>bbb</item>
<item>ccc</item>
</list>
and CSS:
list{
margin-left:40px;
display:block;
list-style-type:decimal;
counter-reset: item;
}
list item {
display:list-item;
}
list{
content: counter(item);
counter-increment: item;
}
I know that Mozila doesn't support counters. I tried without it, but it
doesn't work.
PLEASE HELP ME!