hola amigos estoy buscando la forma de hacer una lista con indice y subindice
y encontre esto
Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css" media="all">
/*the important stuff for this example */
ol {
counter-reset: section;
list-style-type: none;
}
ol li { counter-increment: section; }
ol li:before { content: counters(section, ".") ". "; }
/*basic typography so example doesn't look ugly */
</style>
</head>
<body>
<ol>
<li>
item 1
<ol>
<li>sub item 1
<ol>
<li>sub-sub item 1</li>
<li>sub-sub item 3</li>
</ol>
</li>
<li>
Sub item 2
<ol>
<li>sub item 2(*)</li>
</ol>
</li>
</ol>
</li>
<li>item 2</li>
</ol>
</body>
</html>
Funciona bien en Firefox pero en IE no
saben si hay otra manera de hacer algo asi
espero sus comentarios
saludos