We’re looking to use CSS to create an ordered list that looks like this:
A.
A.1
A.2
B.
C.
C.1
C.2
C.2.1
C.2.2
How would you include the parent index in the child like this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should use CSS counters W3C specs (as @Zeta) has pointed out, but here is an approach that will handle multiple nesting and latin counters ..
Demo at http://jsfiddle.net/gaby/nZQSF/