Hello, I am creating a table of content like:
sectionNumber: sectionTitle ..... page
Here is my css code:
*********************************************
h1:before {
counter-increment:section;
content:counter(section) ". " " ";
}
#toc a.h1:before {
content: target-counter(attr(href, url), section) ". ";
}
**********************************************
h1:before part works fine in the document. However, the TOC starts with section number 0 instead of 1.
Can anybody please help me?
Thanks
Diana
sectionNumber: sectionTitle ..... page
Here is my css code:
*********************************************
h1:before {
counter-increment:section;
content:counter(section) ". " " ";
}
#toc a.h1:before {
content: target-counter(attr(href, url), section) ". ";
}
**********************************************
h1:before part works fine in the document. However, the TOC starts with section number 0 instead of 1.
Can anybody please help me?
Thanks
Diana