Ho un elenco nidificato di questo tipo:
codice:
  1. elenco I livello, item 1
    1. elenco II livello, item 1
    2. elenco II livello, item 2
    3. elenco II livello, item 3
  2. elenco I livello, item 2
    1. elenco II livello, item 1
    2. elenco II livello, item 2
    3. elenco II livello, item 3
Però il validatore W3C mi dà errore:
# Error Line 56, Column 3: document type does not allow element "ol" here; assuming missing "li" start-tag.
[list=1]
# Error Line 60, Column 3: document type does not allow element "li" here; missing one of "ul", "ol" start-tag.
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
Da cosa può dipendere?
Grazie
M.