List - XML CSS. Numbering problem.

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top