Hi,

 

As a follow-up of my previous question: is it possible to let css generate indexes for items?

 

I.e.

<examples>

<example>

<title>This is the first example</title>

</example>

<example>

<title>This is the second example</title>

</example>

</examples>

 

With something like:

example:nth-child(n):before {

              content: n;

}

 

To show:

1.       This is the first example

2.       This is the second example

 

Kind regards,

 

Roderik Dernison




----------------------------------------------------------
Aan dit bericht kunnen geen rechten worden ontleend.
Het bericht is alleen bestemd voor de geadresseerde.
Indien het bericht niet voor u is bestemd, verzoeken wij
u dit aan ons te melden en het bericht te verwijderen.

This message shall not constitute any obligations.
This message is intended solely for the addressee.
If you have received this message in error, please
inform us and delete the message.
----------------------------------------------------------